APM:Libraries
|
Go to the source code of this file.
Functions | |
static void | mpu_enable (uint32_t ctrl) |
static void | mpu_disable () |
static void | mpu_configure_region (uint8_t region, uint32_t addr, uint32_t attribs) |
#define MPU_CTRL_ENABLE MPU_CTRL_ENABLE_Msk |
Definition at line 19 of file mpu.h.
Referenced by mpu_enable().
#define MPU_CTRL_PRIVDEFENA MPU_CTRL_PRIVDEFENA_Msk |
Definition at line 21 of file mpu.h.
Referenced by PendSV_Handler().
#define MPU_RASR_ATTR_AP_RO_RO (6U << MPU_RASR_AP_Pos) |
Definition at line 87 of file mpu.h.
Referenced by PendSV_Handler().
#define MPU_RASR_ATTR_CACHEABLE_WB_NWA (MPU_RASR_ATTR_TEX(0) | MPU_RASR_ATTR_B | MPU_RASR_ATTR_C) |
#define MPU_RASR_ATTR_CACHEABLE_WB_WA (MPU_RASR_ATTR_TEX(1) | MPU_RASR_ATTR_B | MPU_RASR_ATTR_C) |
#define MPU_RASR_ATTR_CACHEABLE_WT_NWA (MPU_RASR_ATTR_TEX(0) | MPU_RASR_ATTR_C) |
#define MPU_RASR_ATTR_NON_CACHEABLE (MPU_RASR_ATTR_TEX(1)) |
Definition at line 93 of file mpu.h.
Referenced by PendSV_Handler().
#define MPU_RASR_ATTR_NON_SHARED_DEVICE (MPU_RASR_ATTR_TEX(2)) |
#define MPU_RASR_ATTR_SHARED_DEVICE (MPU_RASR_ATTR_TEX(0) | MPU_RASR_ATTR_B) |
#define MPU_RASR_ATTR_STRONGLY_ORDERED (MPU_RASR_ATTR_TEX(0)) |
#define MPU_RASR_ENABLE MPU_RASR_ENABLE_Msk |
Definition at line 29 of file mpu.h.
Referenced by mpu_configure_region().
#define MPU_RASR_SIZE_128 MPU_RASR_SIZE(6) |
#define MPU_RASR_SIZE_128K MPU_RASR_SIZE(16) |
#define MPU_RASR_SIZE_128M MPU_RASR_SIZE(26) |
#define MPU_RASR_SIZE_16K MPU_RASR_SIZE(13) |
#define MPU_RASR_SIZE_16M MPU_RASR_SIZE(23) |
#define MPU_RASR_SIZE_1G MPU_RASR_SIZE(29) |
#define MPU_RASR_SIZE_1K MPU_RASR_SIZE(9) |
#define MPU_RASR_SIZE_1M MPU_RASR_SIZE(19) |
#define MPU_RASR_SIZE_256 MPU_RASR_SIZE(7) |
#define MPU_RASR_SIZE_256K MPU_RASR_SIZE(17) |
#define MPU_RASR_SIZE_256M MPU_RASR_SIZE(27) |
#define MPU_RASR_SIZE_2G MPU_RASR_SIZE(30) |
#define MPU_RASR_SIZE_2K MPU_RASR_SIZE(10) |
#define MPU_RASR_SIZE_2M MPU_RASR_SIZE(20) |
#define MPU_RASR_SIZE_32 MPU_RASR_SIZE(4) |
Definition at line 32 of file mpu.h.
Referenced by PendSV_Handler().
#define MPU_RASR_SIZE_32K MPU_RASR_SIZE(14) |
#define MPU_RASR_SIZE_32M MPU_RASR_SIZE(24) |
#define MPU_RASR_SIZE_4G MPU_RASR_SIZE(31) |
#define MPU_RASR_SIZE_4K MPU_RASR_SIZE(11) |
#define MPU_RASR_SIZE_4M MPU_RASR_SIZE(21) |
#define MPU_RASR_SIZE_512 MPU_RASR_SIZE(8) |
#define MPU_RASR_SIZE_512K MPU_RASR_SIZE(18) |
#define MPU_RASR_SIZE_512M MPU_RASR_SIZE(28) |
#define MPU_RASR_SIZE_64 MPU_RASR_SIZE(5) |
#define MPU_RASR_SIZE_64K MPU_RASR_SIZE(15) |
#define MPU_RASR_SIZE_64M MPU_RASR_SIZE(25) |
#define MPU_RASR_SIZE_8K MPU_RASR_SIZE(12) |
#define MPU_RASR_SIZE_8M MPU_RASR_SIZE(22) |
#define MPU_RBAR_ADDR_MASK MPU_RBAR_ADDR_Msk |
Definition at line 27 of file mpu.h.
Referenced by mpu_configure_region().
#define MPU_RBAR_VALID MPU_RBAR_VALID_Msk |
Definition at line 26 of file mpu.h.
Referenced by mpu_configure_region().
#define MPU_REGION_0 0 |
Definition at line 97 of file mpu.h.
Referenced by PendSV_Handler().
|
inlinestatic |
Definition at line 122 of file mpu.h.
Referenced by PendSV_Handler().
|
inlinestatic |
Definition at line 116 of file mpu.h.
Referenced by F4Light::Scheduler::_print_stats(), F4Light::Scheduler::_start_task(), F4Light::Scheduler::get_next_task(), F4Light::Scheduler::resume_boost(), and F4Light::Scheduler::task_resume().
|
inlinestatic |
Definition at line 111 of file mpu.h.
Referenced by PendSV_Handler().