WS63 SDK 文档 7021f4f@fbb_ws63
ws63 和 ws63e 解决方案的 SDK 文档
载入中...
搜索中...
未找到
hal_pmp_riscv31_regs_def.h
浏览该文件的文档.
1
9#ifndef HAL_PMP_RISCV31_REGS_DEF_H
10#define HAL_PMP_RISCV31_REGS_DEF_H
11
12#include <stdint.h>
13#include "hal_pmp.h"
14
15#ifdef __cplusplus
16#if __cplusplus
17extern "C" {
18#endif /* __cplusplus */
19#endif /* __cplusplus */
20
27#define PMPXCFG_NUM_PER_REG 4
28#define MEMXATTR_NUM_PER_REG 8
29#define PMP_REGION_NUM 16
30
31#define PMPCFG0 0
32#define PMPCFG1 1
33#define PMPCFG2 2
34#define PMPCFG3 3
35
36#define PMPADDR0 0
37#define PMPADDR1 1
38#define PMPADDR2 2
39#define PMPADDR3 3
40#define PMPADDR4 4
41#define PMPADDR5 5
42#define PMPADDR6 6
43#define PMPADDR7 7
44#define PMPADDR8 8
45#define PMPADDR9 9
46#define PMPADDR10 10
47#define PMPADDR11 11
48#define PMPADDR12 12
49#define PMPADDR13 13
50#define PMPADDR14 14
51#define PMPADDR15 15
52
62
67#ifdef __cplusplus
68#if __cplusplus
69}
70#endif /* __cplusplus */
71#endif /* __cplusplus */
72
73#endif
union hal_pmpcfg hal_pmp_riscv31_cfg_t
This union represents the bit fields in the pmpaddr register. Read the register into the d32 member t...
#define PMPXCFG_NUM_PER_REG
Definition hal_pmp_riscv31_regs_def.h:27
PMP hal层域配置参数
Definition hal_pmp.h:35
This union represents the bit fields in the pmpaddr register. Read the register into the d32 member t...
Definition hal_pmp_riscv31_regs_def.h:58
hal_pmpx_config_t b[4]
Definition hal_pmp_riscv31_regs_def.h:60
uint32_t d32
Definition hal_pmp_riscv31_regs_def.h:59