12 #ifndef __PMU_SFRS_H__
13 #define __PMU_SFRS_H__
57 uint8_t RESERVED1[98325];
70 #define PMU_SFRS ((__IO PMU_SFRS_t *) (SDIO_BASE + 0x1))
72 #define E_PMU_PMUBOR_BOUTVALUE_2V0 0
73 #define E_PMU_PMUBOR_BOUTVALUE_2V2 1
74 #define E_PMU_PMUBOR_BOUTVALUE_2V4 2
75 #define E_PMU_PMUBOR_BOUTVALUE_2V6 3
77 #define E_PMU_POWER_MODE_LDO 0
78 #define E_PMU_POWER_MODE_BATTERY 1
static __INLINE void f_PMU_DisableBrownOutReset(void)
Disable brownout reset.
Definition: pmu_sfrs.h:163
static __INLINE void f_PMU_SleepReboot(void)
Put system in sleep mode and then reboot at wakeup.
Definition: pmu_sfrs.h:120
static __INLINE void f_PMU_WakeupTime(uint8_t mantissa, uint8_t exponent)
Set wake up timer.
Definition: pmu_sfrs.h:86
#define PMU_SFRS
The starting address of PMU SFRS.
Definition: pmu_sfrs.h:70
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:189
static __INLINE void f_PMU_HwReset(void)
Force a hardware reset.
Definition: pmu_sfrs.h:95
static __INLINE void f_PMU_DisableBrownOutInterrupt(void)
Disable brownout interrupt.
Definition: pmu_sfrs.h:179
static __INLINE void f_PMU_DisableBrownOut(void)
Disable brownout.
Definition: pmu_sfrs.h:147
static __INLINE void f_PMU_EnableBrownOut(void)
Enable brownout.
Definition: pmu_sfrs.h:139
static __INLINE void f_PMU_EnableBrownOutReset(void)
Enable brownout reset.
Definition: pmu_sfrs.h:155
static __INLINE void f_PMU_SleepContinue(void)
Put system in sleep mode and then continue at wakeup.
Definition: pmu_sfrs.h:111
static __INLINE void f_PMU_SetPowerMode(uint8_t mode)
Set system power mode.
Definition: pmu_sfrs.h:131
static __INLINE void f_PMU_SwReset(void)
Force a software reset.
Definition: pmu_sfrs.h:103
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:171