WB32L003 Standard Peripherals Firmware Library
宏定义 | 函数
wb32l003_pwr.h 文件参考

This file contains all the functions prototypes for the PWR firmware library. 更多...

#include "wb32l003.h"

浏览源代码.

宏定义

#define PWR_SLEEPENTRY_WFI   ((uint8_t)0x01)
 
#define PWR_SLEEPENTRY_WFE   ((uint8_t)0x02)
 
#define IS_PWR_SLEEP_ENTRY(ENTRY)   (((ENTRY) == PWR_SLEEPENTRY_WFI) || ((ENTRY) == PWR_SLEEPENTRY_WFE))
 

函数

void PWR_EnterSLEEPMode (uint8_t SLEEPEntry)
 Enters Sleep mode. 更多...
 
void PWR_EnterDEEPSLEEPMode (void)
 Enters Deep Sleep mode. 更多...
 
void PWR_EnableSleepOnExit (void)
 Indicates Sleep-On-Exit when returning from Handler mode to Thread mode. 更多...
 
void PWR_DisableSleepOnExit (void)
 Disables Sleep-On-Exit feature when returning from Handler mode to Thread mode. 更多...
 
void PWR_EnableSEVOnPend (void)
 Enables CORTEX M0+ SEVONPEND bit. 更多...
 
void PWR_DisableSEVOnPend (void)
 Disables CORTEX M0+ SEVONPEND bit. 更多...
 

详细描述

This file contains all the functions prototypes for the PWR firmware library.

作者
Westberry Application Team
版本
V0.0.4
日期
23-April-2023