|
WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
|
结构体 | |
| struct | mpu_config |
| MPU配置信息定义。 更多... | |
类型定义 | |
| typedef struct mpu_config | mpu_config_t |
| MPU配置信息定义。 | |
函数 | |
| errcode_t | uapi_mpu_init (void) |
| 初始化MPU。 | |
| void | uapi_mpu_deinit (void) |
| 去初始化MPU。 | |
| errcode_t | uapi_mpu_config (const mpu_config_t *mpu_cfg, uint8_t mpu_cfg_size) |
| 配置MPU。 | |
| void | uapi_mpu_enable (bool open_privdef, bool enable_hfnmi) |
| 使能MPU。 | |
| void | uapi_mpu_disable (void) |
| 去使能MPU。 | |
| errcode_t | uapi_mpu_region_enable (uint8_t mpu_region_num, const mpu_config_t *mpu_cfg) |
| 使能PMU域功能。 | |
| errcode_t | uapi_mpu_region_disable (uint8_t mpu_region_num) |
| 去使能PMU域功能。 | |
Copyright (c) HiSilicon (Shanghai) Technologies Co., Ltd. 2022-2022. All rights reserved.
Description: Provides MPU driver api
History:
2023-01-16, Create file.
| typedef struct mpu_config mpu_config_t |
MPU配置信息定义。
| errcode_t uapi_mpu_config | ( | const mpu_config_t * | mpu_cfg, |
| uint8_t | mpu_cfg_size | ||
| ) |
配置MPU。
| void uapi_mpu_deinit | ( | void | ) |
去初始化MPU。
| void uapi_mpu_disable | ( | void | ) |
去使能MPU。
| void uapi_mpu_enable | ( | bool | open_privdef, |
| bool | enable_hfnmi | ||
| ) |
使能MPU。
| errcode_t uapi_mpu_init | ( | void | ) |
初始化MPU。
| errcode_t uapi_mpu_region_disable | ( | uint8_t | mpu_region_num | ) |
去使能PMU域功能。
| errcode_t uapi_mpu_region_enable | ( | uint8_t | mpu_region_num, |
| const mpu_config_t * | mpu_cfg | ||
| ) |
使能PMU域功能。