WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hal_reboot.h
浏览该文件的文档.
1/*
2 * Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2018-2020. All rights reserved.
3 * Description: HAL Reboot functionality header file
4 *
5 * Create: 2018-10-15
6 */
7
8#ifndef HAL_REBOOT_H
9#define HAL_REBOOT_H
10
11#include "stdint.h"
12#include "stdbool.h"
13
24bool hal_reboot_hard_wdg_timeout(uint16_t cause);
25
27void hal_reboot_deinit(void);
28
30void hal_reboot_chip(void);
31
34
39uint16_t hal_reboot_get_reset_reason(void);
40
45
51
55#endif
void hal_reboot_set_ulp_aon_no_poweroff_flag(void)
Set a universal register of the ULP region to a fix value
Definition hal_reboot.c:23
bool hal_reboot_get_ulp_aon_no_poweroff_flag(void)
Get the universal power-on/off flag register of the ULP region
Definition hal_reboot.c:28
bool hal_reboot_hard_wdg_timeout(uint16_t cause)
Check whether the hard watchdog is restarted during the last restart
Definition hal_reboot.c:37
uint16_t hal_reboot_get_reset_reason(void)
Return reset code showing why this core was rebooted
Definition hal_reboot.c:104
void hal_reboot_clear_history(void)
Definition hal_reboot.c:93
void hal_reboot_chip(void)
Definition hal_reboot.c:75
void hal_reboot_deinit(void)
Definition hal_reboot.c:64