Kamcho Library 02.00.03
lib.kamcho.02.00.03.287
|
Go to the source code of this file.
Data Structures | |
struct | PMU_WakeupTime |
The data structure of wakeup timer settings. More... | |
Enumerations | |
enum | PMU_WAKEUP_TIME_t { PMU_WAKEUP_TIME_100, PMU_WAKEUP_TIME_200, PMU_WAKEUP_TIME_500, PMU_WAKEUP_TIME_1000, PMU_WAKEUP_TIME_2000, PMU_WAKEUP_TIME_4000, PMU_WAKEUP_TIME_6000, PMU_WAKEUP_TIME_8000, PMU_WAKEUP_TIME_10000, PMU_WAKEUP_TIME_12000, PMU_WAKEUP_TIME_MAX = PMU_WAKEUP_TIME_12000 } |
The enumeration of wakeup time. More... | |
enum | PMU_BROWNOUT_MODE_t { PMU_BROWNOUT_NONE, PMU_BROWNOUT_RESET, PMU_BROWNOUT_INTERRUPT } |
The enumeration of brownout mode. More... | |
Functions | |
void | PMU_devSleepLowPwr (PMU_WAKEUP_TIME_t time) |
Sleep in Low power mode then Continue. More... | |
void | PMU_devSleepLowPwrReboot (PMU_WAKEUP_TIME_t time) |
Sleep in Low power mode and Reboot. More... | |
void | PMU_devBrownOutInit (PMU_BROWNOUT_MODE_t brown, uint32_t volt, void *cb) |
Initialize brownout settings. More... | |
void | PMU_devSetPowerModeBattery (void) |
Set system power to battery mode. More... | |
void | PMU_devSetPowerModeLDO (void) |
Set system power to LDO mode. More... | |
Variables | |
static const struct PMU_WakeupTime | PMU_WAKEUP_TIME_tbl [PMU_WAKEUP_TIME_MAX+1] |
The wakeup timer settings for each enumeration of wakeup time. 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.
enum PMU_BROWNOUT_MODE_t |
enum PMU_WAKEUP_TIME_t |
void PMU_devBrownOutInit | ( | PMU_BROWNOUT_MODE_t | brown, |
uint32_t | volt, | ||
void * | cb | ||
) |
Initialize brownout settings.
brown | The enumeration of brownout mode. |
volt | The brownout voltage. |
cb | The pointer to the call back function for brown interrupt. |
void PMU_devSetPowerModeBattery | ( | void | ) |
Set system power to battery mode.
void PMU_devSetPowerModeLDO | ( | void | ) |
Set system power to LDO mode.
void PMU_devSleepLowPwr | ( | PMU_WAKEUP_TIME_t | time | ) |
Sleep in Low power mode then Continue.
time | The enumeration of sleep time. |
void PMU_devSleepLowPwrReboot | ( | PMU_WAKEUP_TIME_t | time | ) |
Sleep in Low power mode and Reboot.
time | The enumeration of sleep time |
|
static |
The wakeup timer settings for each enumeration of wakeup time.