WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
REBOOT

函数

bool hal_reboot_hard_wdg_timeout (uint16_t cause)
 Check whether the hard watchdog is restarted during the last restart
 
void hal_reboot_deinit (void)
 
void hal_reboot_chip (void)
 
void hal_reboot_clear_history (void)
 
uint16_t hal_reboot_get_reset_reason (void)
 Return reset code showing why this core was rebooted
 
void hal_reboot_set_ulp_aon_no_poweroff_flag (void)
 Set a universal register of the ULP region to a fix value
 
bool hal_reboot_get_ulp_aon_no_poweroff_flag (void)
 Get the universal power-on/off flag register of the ULP region
 

详细描述

函数说明

◆ hal_reboot_chip()

void hal_reboot_chip ( void  )

Perform a software reboot (for chip).

◆ hal_reboot_clear_history()

void hal_reboot_clear_history ( void  )

Clear reboot history.

◆ hal_reboot_deinit()

void hal_reboot_deinit ( void  )

De-initialise the reboot subsystem

◆ hal_reboot_get_reset_reason()

uint16_t hal_reboot_get_reset_reason ( void  )

Return reset code showing why this core was rebooted

返回
the reset cause bitfield

Return reset code for the last time this core was rebooted

◆ hal_reboot_get_ulp_aon_no_poweroff_flag()

bool hal_reboot_get_ulp_aon_no_poweroff_flag ( void  )

Get the universal power-on/off flag register of the ULP region

返回
true no poweroff, false is re-poweron

◆ hal_reboot_hard_wdg_timeout()

bool hal_reboot_hard_wdg_timeout ( uint16_t  cause)

Check whether the hard watchdog is restarted during the last restart

参数
causeThe reset cause
返回
true is yes; false is no

◆ hal_reboot_set_ulp_aon_no_poweroff_flag()

void hal_reboot_set_ulp_aon_no_poweroff_flag ( void  )

Set a universal register of the ULP region to a fix value