Atmel Software Framework

mpu.c File Reference
#include <avr32/io.h>
#include "compiler.h"
#include "mpu.h"

Functions

void disable_mpu (void)
 Disable the memory protection unit. MPU address checking is disabled, no exceptions will be generated by the MPU. More...
 
void disable_mpu_entry (unsigned int region_number, unsigned int register_select)
 
void enable_mpu (void)
 Enable the memory protection unit. MPU address checking is enabled. More...
 
bool mpu_convert_kbsize_to_eregionsize (eRegionSize *peRegionSizeValue, U32 kBSizeValue)
 Converts an input region size expressed in kBytes to the corresponding eRegionSize type value. More...
 
void select_subregion (unsigned int region_number, unsigned int pattern_select)
 
void set_access_permissions (unsigned int region_number, unsigned int register_select, unsigned int right_access)
 
char set_mpu_entry (const mpu_entry_t *mpu_entry, unsigned int region_number)