Kamcho Library 02.00.03
lib.kamcho.02.00.03.287
|
#include "pmu_device.h"
Typedefs | |
typedef void(* | pmu_cb_func_t) (void) |
Functions | |
static void | set_brownout_threshold (uint32_t volt) |
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 mode, 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... | |
void | BrownOut_Handler (void) |
Variables | |
pmu_cb_func_t | brownout_cb = NULL |
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.
typedef void(* pmu_cb_func_t) (void) |
void BrownOut_Handler | ( | void | ) |
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 |
pmu_cb_func_t brownout_cb = NULL |