PebbleOS v4.47.0-888-g9fa910d13
Loading...
Searching...
No Matches
STM32H7 RCC

Reset controller of the STM32H7 RCC. More...

Data Structures

struct  pbl_reset_stm32h7
 RCC reset controller. More...
 

Macros

#define STM32H7_RCC_RESET   (&pbl_reset_stm32h7_rcc)
 The RCC, as a reset controller.
 
#define PBL_RESET_STM32H7_NUM_LINES   (0xa0U * 8U)
 Number of reset lines of the RCC: up to the last bit of APB4RSTR.
 
#define PBL_RESET_STM32H7_DEFINE(sym, _name, _base)
 Define the reset controller of the RCC.
 

Variables

const struct pbl_reset_controller pbl_reset_stm32h7_rcc
 

Detailed Description

Reset controller of the STM32H7 RCC.

Its lines are numbered as the binding does, dt-bindings/mfd/stm32h7-rcc.h: the bit of a peripheral in the reset registers, eight per byte of offset in the RCC.


Data Structure Documentation

◆ pbl_reset_stm32h7

struct pbl_reset_stm32h7

RCC reset controller.

Data Fields
uintptr_t base Registers.
struct pbl_reset_controller ctrl Reset controller.

Macro Definition Documentation

◆ PBL_RESET_STM32H7_DEFINE

#define PBL_RESET_STM32H7_DEFINE (   sym,
  _name,
  _base 
)
Value:
PBL_DEVICE_INSTANCE(sym, struct pbl_reset_stm32h7, struct pbl_reset_controller, ctrl) { \
.ctrl = PBL_RESET_CONTROLLER_INIT(sym, _name "_reset", nullptr, nullptr, \
&pbl_reset_stm32h7_ops, PBL_RESET_STM32H7_NUM_LINES), \
.base = (_base), \
}
A reset controller.
Definition reset.h:39
#define PBL_RESET_CONTROLLER_INIT(sym, _name, _init, _parent, _ops, _num_resets)
Initializer for the struct pbl_reset_controller of controller sym.
Definition reset.h:70
#define PBL_RESET_CONTROLLER_STATE_DEFINE(sym)
Define the class state of reset controller sym, for the driver's define macro.
Definition reset.h:53
RCC reset controller.
Definition stm32h7.h:26
#define PBL_RESET_STM32H7_NUM_LINES
Number of reset lines of the RCC: up to the last bit of APB4RSTR.
Definition stm32h7.h:38

Define the reset controller of the RCC.

Parameters
symSymbol of the controller.
_nameName of the RCC; the controller is named after it.
_baseRCC registers.

◆ PBL_RESET_STM32H7_NUM_LINES

#define PBL_RESET_STM32H7_NUM_LINES   (0xa0U * 8U)

Number of reset lines of the RCC: up to the last bit of APB4RSTR.

◆ STM32H7_RCC_RESET

#define STM32H7_RCC_RESET   (&pbl_reset_stm32h7_rcc)

The RCC, as a reset controller.

Variable Documentation

◆ pbl_reset_stm32h7_rcc

const struct pbl_reset_controller pbl_reset_stm32h7_rcc
extern