12 #ifndef __PMU_SFRS_H__
13 #define __PMU_SFRS_H__
62 #define PMU_SFRS ((__IO PMU_SFRS_t *) (SDIO_BASE + 0x1))
64 #define E_PMU_PMUBOR_BOUTVALUE_2V0 0
65 #define E_PMU_PMUBOR_BOUTVALUE_2V2 1
66 #define E_PMU_PMUBOR_BOUTVALUE_2V4 2
67 #define E_PMU_PMUBOR_BOUTVALUE_2V6 3
69 #define E_PMU_POWER_MODE_LDO 0
70 #define E_PMU_POWER_MODE_BATTERY 1
static __INLINE void f_PMU_DisableBrownOutReset(void)
Disable brownout reset.
Definition: pmu_sfrs.h:153
static __INLINE void f_PMU_SleepReboot(void)
Put system in sleep mode and then reboot at wakeup.
Definition: pmu_sfrs.h:111
static __INLINE void f_PMU_WakeupTime(uint8_t mantissa, uint8_t exponent)
Set wake up timer.
Definition: pmu_sfrs.h:78
#define PMU_SFRS
The starting address of PMU SFRS.
Definition: pmu_sfrs.h:62
uint8_t BYTE
Definition: pmu_sfrs.h:28
static __INLINE void f_PMU_SetBrownOutLevel(uint8_t level)
Set brown out voltage level.
Definition: pmu_sfrs.h:179
static __INLINE void f_PMU_HwReset(void)
Force a hardware reset.
Definition: pmu_sfrs.h:87
static __INLINE void f_PMU_DisableBrownOutInterrupt(void)
Disable brownout interrupt.
Definition: pmu_sfrs.h:169
static __INLINE void f_PMU_DisableBrownOut(void)
Disable brownout.
Definition: pmu_sfrs.h:137
static __INLINE void f_PMU_EnableBrownOut(void)
Enable brownout.
Definition: pmu_sfrs.h:129
static __INLINE void f_PMU_EnableBrownOutReset(void)
Enable brownout reset.
Definition: pmu_sfrs.h:145
static __INLINE void f_PMU_SleepContinue(void)
Put system in sleep mode and then continue at wakeup.
Definition: pmu_sfrs.h:103
static __INLINE void f_PMU_SetPowerMode(uint8_t mode)
Set system power mode.
Definition: pmu_sfrs.h:121
static __INLINE void f_PMU_SwReset(void)
Force a software reset.
Definition: pmu_sfrs.h:95
A structure to represent Special Function Registers for PMU.
Definition: pmu_sfrs.h:18
uint8_t RESERVED0
Definition: pmu_sfrs.h:40
static __INLINE void f_PMU_EnableBrownOutInterrupt(void)
Enable brownout interrupt.
Definition: pmu_sfrs.h:161