12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394 |
- #ifndef __NRF_MPU_LIB_H
- #define __NRF_MPU_LIB_H
- #include <stdint.h>
- #include <stdlib.h>
- #include "sdk_errors.h"
- #ifdef __cplusplus
- extern "C" {
- #endif
- typedef uint8_t nrf_mpu_lib_region_t;
- ret_code_t nrf_mpu_lib_init(void);
- ret_code_t nrf_mpu_lib_region_create(nrf_mpu_lib_region_t *p_region,
- void *address,
- size_t size,
- uint32_t attributes);
- ret_code_t nrf_mpu_lib_region_destroy(nrf_mpu_lib_region_t region);
- #ifdef __cplusplus
- }
- #endif
- #endif
|