[Stub] support.
Power control (PWR) defines.
DefinesFunctions
- PWR_BASE
Power peripheral register map base pointer.
- PWR_CR_DBP
Disable backup domain write protection bit.
- PWR_CR_PVDE
Power voltage detector enable bit.
- PWR_CR_CSBF
Clear standby flag bit.
- PWR_CR_CWUF
Clear wakeup flag bit.
- PWR_CR_PDDS
Power down deepsleep bit.
- PWR_CR_LPDS
Low-power deepsleep bit.
- PWR_CSR_EWUP
Enable wakeup pin bit.
- PWR_CSR_PVDO
PVD output bit.
- PWR_CSR_SBF
Standby flag bit.
- PWR_CSR_WUF
Wakeup flag bit.
Variables
- void pwr_init(void )
Enables the power interface clock, and resets the power device.
- const pwr_dev * PWR
Power device.
class pwr_reg_map
Power interface register map.
Public Members
- __io uint32 CR
Control register.
- __io uint32 CSR
Control and status register.
class pwr_dev
Power device type.
Public Members
- pwr_reg_map * regs
Register map.