![]() |
nRF5 SDK
v16.0.0
|
| Choose documentation: | nRF5 SDK | S112 SoftDevice API | S113 SoftDevice API | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API | S312 SoftDevice API | S332 SoftDevice API | S340 SoftDevice API |
Functions for controlling MPU. More...
Modules | |
| Module for MPU configuration | |
Typedefs | |
| typedef uint8_t | nrf_mpu_lib_region_t |
| MPU region handle. | |
Functions | |
| ret_code_t | nrf_mpu_lib_init (void) |
| Initialize MPU and driver. More... | |
| ret_code_t | nrf_mpu_lib_region_create (nrf_mpu_lib_region_t *p_region, void *address, size_t size, uint32_t attributes) |
| Create a new MPU region. More... | |
| ret_code_t | nrf_mpu_lib_region_destroy (nrf_mpu_lib_region_t region) |
| Destroy an MPU region. More... | |
Functions for controlling MPU.
| ret_code_t nrf_mpu_lib_init | ( | void | ) |
Initialize MPU and driver.
| ret_code_t nrf_mpu_lib_region_create | ( | nrf_mpu_lib_region_t * | p_region, |
| void * | address, | ||
| size_t | size, | ||
| uint32_t | attributes | ||
| ) |
Create a new MPU region.
| [out] | p_region | Region handle. |
| [in] | address | Region base address. |
| [in] | size | Region size. |
| [in] | attributes | Region attributes. See ARM Cortex-M MPU documentation. |
| ret_code_t nrf_mpu_lib_region_destroy | ( | nrf_mpu_lib_region_t | region | ) |
Destroy an MPU region.
| [in] | region | Region handle. |