Struct GX_HAL_PMU_WAKEUP_STATUS_CFG

  • Defined in file__output_copyinclude_src_include_pmu_gx_hal_pmu_apus.h

Struct Documentation

struct GX_HAL_PMU_WAKEUP_STATUS_CFG

PMU 唤醒状态 清唤醒状态需要先写0,再写1.

Public Members

uint32_t always

无条件唤醒状态

uint32_t io_all

IO 唤醒总状态 此状态只表示存在IO唤醒,具体的 IO 唤醒源查看 GX_HAL_PMU_WAKEUP_STATUS.io 变量

uint32_t rtc

RTC 唤醒状态 1: RTC 唤醒 深度休眠模式或休眠模式唤醒到工作模式

uint32_t lpc

低功耗比较器唤醒状态 1: LPC 唤醒 深度休眠模式或休眠模式唤醒到工作模式

uint32_t onoff

ONOFF 按键唤醒状态 1: ONOFF 按键唤醒 深度休眠模式或休眠模式唤醒到工作模式

uint32_t ble

BLE 唤醒状态 1: BLE 唤醒 深度休眠模式或休眠模式唤醒到工作模式

uint32_t watchdog

看门狗复位状态 1: 看门狗复位

uint32_t rsv1

预留

uint32_t io

IO 唤醒状态 每个 bit 位对应一个 IO 唤醒状态 深度休眠模式或休眠模式唤醒到工作模式

uint32_t _3v_always

无条件唤醒状态 1: 无条件唤醒 船运眠模式唤醒到深度休眠模式

uint32_t _3v_onoff

ONOFF 按键唤醒状态 1: ONOFF 按键唤醒 船运眠模式唤醒到深度休眠模式

uint32_t rsv2

预留

uint32_t first_powerup

第一次上电状态 *1: 第一次上电状态,需要软件写0清除