PebbleOS v4.47.0-1312-gf1984a001
Loading...
Searching...
No Matches
SiFli SF32LB PMUC

Wake and reset sources latched by the PMUC of the SF32LB52 and SF32LB57. More...

Data Structures

struct  pbl_reset_cause_sf32lb_pmuc
 SiFli SF32LB PMUC reset cause. More...
 

Macros

#define PBL_RESET_CAUSE_SF32LB_PMUC_DEFINE(sym, _name, _base)
 Define a SiFli SF32LB PMUC reset cause.
 

Detailed Description

Wake and reset sources latched by the PMUC of the SF32LB52 and SF32LB57.


Data Structure Documentation

◆ pbl_reset_cause_sf32lb_pmuc

struct pbl_reset_cause_sf32lb_pmuc

SiFli SF32LB PMUC reset cause.

Data Fields
uintptr_t base Registers.
struct pbl_reset_cause rc Reset cause.

Macro Definition Documentation

◆ PBL_RESET_CAUSE_SF32LB_PMUC_DEFINE

#define PBL_RESET_CAUSE_SF32LB_PMUC_DEFINE (   sym,
  _name,
  _base 
)
Value:
PBL_DEVICE_INSTANCE(sym, struct pbl_reset_cause_sf32lb_pmuc, struct pbl_reset_cause, rc) { \
.rc = PBL_RESET_CAUSE_INIT(sym, _name, nullptr, &pbl_reset_cause_sf32lb_pmuc_ops), \
.base = (_base), \
}
SiFli SF32LB PMUC reset cause.
Definition sf32lb_pmuc.h:18
Reset cause.
Definition reset_cause.h:66
#define PBL_RESET_CAUSE_INIT(sym, _name, _parent, _ops)
Initialize a struct pbl_reset_cause.
Definition reset_cause.h:100
#define PBL_RESET_CAUSE_STATE_DEFINE(sym)
Define the class state of a reset cause.
Definition reset_cause.h:88

Define a SiFli SF32LB PMUC reset cause.

Parameters
symSymbol of the device.
_nameName.
_baseRegisters of the block.