|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|

类型定义 | |
| typedef enum reboot_port_rst_reason | reboot_port_rst_reason_t |
枚举 | |
| enum | reboot_port_rst_reason { RST_REASON_WDT_RST = 0 , RST_REASON_SOFT_RST , RST_REASON_HARD_RST , RST_REASON_INVALID } |
函数 | |
| void | reboot_port_reboot_chip (void) |
| uint32_t | reboot_port_get_rst_reason (void) |
| void | reboot_mem_flash_erase (void) |
| void | reboot_mem_save_to_flash (void) |
| #define HAL_BCPU_RESET_STS_REG (GLB_CTL_M_RB_BASE + 0x30) |
| #define HAL_CHIP_RESET_REG (GLB_CTL_M_RB_BASE + CHIP_RESET_OFF) |
| #define HAL_CHIP_RESET_REG_ENABLE_RESET_BIT 2 |
| #define HAL_CHIP_RESET_REG_OFFSET 0x0 |
| #define HAL_DSP_RESET_STS_REG (GLB_CTL_B_RB_BASE + 0x38) |
| #define HAL_MCPU_RESET_STS_REG (GLB_CTL_M_RB_BASE + 0x34) |
| #define HAL_PMU_PROTECT_BUCK1_SCP_BIT 3 |
| #define HAL_PMU_PROTECT_BUCK2_SCP_BIT 2 |
| #define HAL_PMU_PROTECT_CHIP_WDG_BIT 4 |
| #define HAL_PMU_PROTECT_CHIP_WDG_BIT_CLR 0 |
| #define HAL_PMU_PROTECT_STATUS_CLR_REG (PMU1_CTL_RB_BASE + 0x370) |
| #define HAL_PMU_PROTECT_STATUS_REG (PMU1_CTL_RB_BASE + 0x370) |
| #define HAL_REBOOT_REASON_BCPU_CHIP_WDT 0x8004 |
| #define HAL_REBOOT_REASON_BCPU_WDT 0x8002 |
| #define HAL_REBOOT_REASON_DSP_WDT 0x4002 |
| #define HAL_REBOOT_REASON_MCPU_WDT 0x2002 |
Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2022-2022. All rights reserved.
Description: Provides pmp port template
History:
2022-09-26, Create file.
| #define HAL_RESET_STS_CLEAR_ALL 0xFF |
| #define HAL_RESET_STS_CLEAR_REG (GLB_CTL_M_RB_BASE + 0x3c) |
| #define HAL_RESET_STS_COMMON_RESET_BIT 0 |
| #define HAL_RESET_STS_CORE_RESET_BIT 1 |
| #define HAL_RESET_STS_CORE_WDT_RESET_BIT 2 |
| #define HAL_ULP_AON_GENERAL_REG (ULP_AON_CTL_RB_ADDR + 0x14) |
| #define HAL_ULP_AON_NO_POWEROFF_FLAG 0xA5A5 |