|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
宏定义 | |
| #define | MEMXATTR_VECTOR 2 |
函数 | |
| void | hal_pmp_riscv31_regs_set_pmpaddr (uint32_t idx, uint32_t addr) |
| Set address | |
| void | hal_pmp_riscv31_regs_set_memxattr (uint32_t idx, uint8_t attr) |
| 写入基地址寄存器 | |
| void | hal_pmp_riscv31_regs_set_pmpxcfg (uint32_t idx, hal_pmpx_config_t cfg) |
| 写入基地址寄存器 | |
Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2022-2022. All rights reserved.
Description: Provides RISCV mpu register operation api
History:
2022-09-26, Create file.
| #define MEMXATTR_VECTOR 2 |
| void hal_pmp_riscv31_regs_set_memxattr | ( | uint32_t | idx, |
| uint8_t | attr | ||
| ) |
写入基地址寄存器
| void hal_pmp_riscv31_regs_set_pmpaddr | ( | uint32_t | idx, |
| uint32_t | pmpaddr | ||
| ) |
Set address
| [in] | idx | Region number |
| [in] | addr | Base address, First Address in NAPOT mode and End Address in TOR mode. |
Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2022-2022. All rights reserved.
Description: Provides systick register operation api
History:
2022-09-28, Create file.
| void hal_pmp_riscv31_regs_set_pmpxcfg | ( | uint32_t | idx, |
| hal_pmpx_config_t | cfg | ||
| ) |
写入基地址寄存器