CC3200 Brownout Reset
时间:10-02
整理:3721RD
点击:
Hi
CC3200有什么直接的方法可以知道,它是从Brownout重启过来的?
谢谢
HH
可以使用PRCMSysResetCauseGet() API,根据返回值可知造成重启的原因
下面的返回值是从SDK里摘出来的,请问这些齐全么?如果齐全,请问下面哪一个对应的是Brownout reset?
//! -\b PRCM_POWER_ON - Device is powering up.
//! -\b PRCM_LPDS_EXIT - Device is exiting from LPDS.
//! -\b PRCM_CORE_RESET - Device is exiting soft core only reset
//! -\b PRCM_MCU_RESET - Device is exiting soft subsystem reset.
//! -\b PRCM_WDT_RESET - Device was reset by watchdog.
//! -\b PRCM_SOC_RESET - Device is exting SOC reset.
//! -\b PRCM_HIB_EXIT - Device is exiting hibernate.