38 #if defined(__MPU_PRESENT) && (__MPU_PRESENT == 1) 
   60 #define MPU_CTRL_PRIVDEFENA    MPU_CTRL_PRIVDEFENA_Msk 
   65 #define MPU_CTRL_HFNMIENA      MPU_CTRL_HFNMIENA_Msk 
  141 #define MPU_INIT_FLASH_DEFAULT                                \ 
  147   mpuRegionApFullAccess,   \ 
  158 #define MPU_INIT_SRAM_DEFAULT                                 \ 
  163   mpuRegionSize128Kb,                 \ 
  164   mpuRegionApFullAccess,   \ 
  175 #define MPU_INIT_PERIPHERAL_DEFAULT                           \ 
  181   mpuRegionApFullAccess,   \ 
  207   SCB->SHCSR &= ~SCB_SHCSR_MEMFAULTENA_Msk;      
 
  208   MPU->CTRL  &= ~MPU_CTRL_ENABLE_Msk;            
 
  223   EFM_ASSERT(!(flags & ~(MPU_CTRL_PRIVDEFENA_Msk
 
  224                          | MPU_CTRL_HFNMIENA_Msk
 
  225                          | MPU_CTRL_ENABLE_Msk)));
 
  227   MPU->CTRL   = flags | MPU_CTRL_ENABLE_Msk;     
 
  228   SCB->SHCSR |= SCB_SHCSR_MEMFAULTENA_Msk;       
 
MPU_RegionSize_TypeDef size
 
Emlib peripheral API "assert" implementation. 
 
void MPU_ConfigureRegion(const MPU_RegionInit_TypeDef *init)
Configure an MPU region. 
 
CMSIS Cortex-M Peripheral Access Layer for Silicon Laboratories microcontroller devices. 
 
__STATIC_INLINE void MPU_Enable(uint32_t flags)
Enable the MPU. 
 
MPU_RegionAp_TypeDef accessPermission
 
__STATIC_INLINE void MPU_Disable(void)
Disable the MPU.