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. |