Kamcho Library 02.00.03
lib.kamcho.02.00.03.287
|
Go to the source code of this file.
Data Structures | |
struct | PMU_SFRS_t |
A structure to represent Special Function Registers for PMU. More... | |
Macros | |
#define | PMU_SFRS ((__IO PMU_SFRS_t *) (SDIO_BASE + 0x1)) |
The starting address of PMU SFRS. More... | |
#define | E_PMU_PMUBOR_BOUTVALUE_2V0 0 |
#define | E_PMU_PMUBOR_BOUTVALUE_2V2 1 |
#define | E_PMU_PMUBOR_BOUTVALUE_2V4 2 |
#define | E_PMU_PMUBOR_BOUTVALUE_2V6 3 |
#define | E_PMU_POWER_MODE_LDO 0 |
#define | E_PMU_POWER_MODE_BATTERY 1 |
Functions | |
static __INLINE void | f_PMU_WakeupTime (uint8_t mantissa, uint8_t exponent) |
Set wake up timer. More... | |
static __INLINE void | f_PMU_HwReset (void) |
Force a hardware reset. More... | |
static __INLINE void | f_PMU_SwReset (void) |
Force a software reset. More... | |
static __INLINE void | f_PMU_SleepContinue (void) |
Put system in sleep mode and then continue at wakeup. More... | |
static __INLINE void | f_PMU_SleepReboot (void) |
Put system in sleep mode and then reboot at wakeup. More... | |
static __INLINE void | f_PMU_SetPowerMode (uint8_t mode) |
Set system power mode. More... | |
static __INLINE void | f_PMU_EnableBrownOut (void) |
Enable brownout. More... | |
static __INLINE void | f_PMU_DisableBrownOut (void) |
Disable brownout. More... | |
static __INLINE void | f_PMU_EnableBrownOutReset (void) |
Enable brownout reset. More... | |
static __INLINE void | f_PMU_DisableBrownOutReset (void) |
Disable brownout reset. More... | |
static __INLINE void | f_PMU_EnableBrownOutInterrupt (void) |
Enable brownout interrupt. More... | |
static __INLINE void | f_PMU_DisableBrownOutInterrupt (void) |
Disable brownout interrupt. More... | |
static __INLINE void | f_PMU_SetBrownOutLevel (uint8_t level) |
Set brown out voltage level. More... | |
This file is proprietary to Indie Semiconductor. All rights reserved. Reproduction or distribution, in whole or in part, is forbidden except by express written permission of Indie Semiconductor.
#define E_PMU_PMUBOR_BOUTVALUE_2V0 0 |
#define E_PMU_PMUBOR_BOUTVALUE_2V2 1 |
#define E_PMU_PMUBOR_BOUTVALUE_2V4 2 |
#define E_PMU_PMUBOR_BOUTVALUE_2V6 3 |
#define E_PMU_POWER_MODE_BATTERY 1 |
#define E_PMU_POWER_MODE_LDO 0 |
#define PMU_SFRS ((__IO PMU_SFRS_t *) (SDIO_BASE + 0x1)) |
The starting address of PMU SFRS.
|
static |
Disable brownout.
|
static |
Disable brownout interrupt.
|
static |
Disable brownout reset.
|
static |
Enable brownout.
|
static |
Enable brownout interrupt.
|
static |
Enable brownout reset.
|
static |
Force a hardware reset.
|
static |
Set brown out voltage level.
level | The enumeration of brownout voltage level. |
|
static |
Set system power mode.
mode | The remuneration of power mode. |
|
static |
Put system in sleep mode and then continue at wakeup.
|
static |
Put system in sleep mode and then reboot at wakeup.
|
static |
Force a software reset.
|
static |
Set wake up timer.
mantissa | The mantissa value of wakeup timer setting. |
exponent | exponential value of wakeup timer setting. |