File ns_power.c
FileList > apollo4 > ns_power.c
Go to the source code of this file
#include "am_bsp.h"
#include "am_mcu_apollo.h"
#include "am_util.h"
#include "ns_core.h"
#include "ns_peripherals_power.h"
#include "ns_tempco.h"
Public Functions
Type | Name |
---|---|
void | ns_platform_deep_sleep (void) Wraps am_hal_sysctrl_sleep to enable and disable systems as needed. |
void | ns_power_down_peripherals (const ns_power_config_t * pCfg) |
uint32_t | ns_power_platform_config (const ns_power_config_t * pCfg) |
uint32_t | ns_set_performance_mode (ns_power_mode_e eAIPowerMode) Sets CPU frequency to one of the ns_power_modes. |
Public Functions Documentation
function ns_platform_deep_sleep
void ns_platform_deep_sleep (
void
)
function ns_power_down_peripherals
void ns_power_down_peripherals (
const ns_power_config_t * pCfg
)
function ns_power_platform_config
uint32_t ns_power_platform_config (
const ns_power_config_t * pCfg
)
function ns_set_performance_mode
Sets CPU frequency to one of the ns_power_modes.
uint32_t ns_set_performance_mode (
ns_power_mode_e eAIPowerMode
)
Parameters:
eAIPowerMode
Returns:
uint32_t status
Sets CPU frequency to one of the ns_power_modes.
The documentation for this class was generated from the following file neuralSPOT/neuralspot/ns-peripherals/src/apollo4/ns_power.c