SAMV70/SAMV71/SAME70/SAMS70-XULTRA board mpu config.
Copyright (c) 2015-2018 Microchip Technology Inc. and its subsidiaries.
#include "mpu.h"
Functions | |
uint32_t | mpu_cal_mpu_region_size (uint32_t dw_actual_size_in_bytes) |
Calculate region size for the RASR. More... | |
void | mpu_disable_region (void) |
Disable the current active region. More... | |
void | mpu_enable (uint32_t dw_mpu_enable) |
Enables the MPU module. More... | |
void | mpu_set_region (uint32_t dw_region_base_addr, uint32_t dw_region_attr) |
Setup a memory region. More... | |
void | mpu_set_region_num (uint32_t dw_region_num) |
Set active memory region. More... | |
void | mpu_update_regions (uint32_t dw_region_num, uint32_t dw_region_base_addr, uint32_t dw_region_attr) |
Update MPU regions. More... | |