CORTEX Private Functions

CORTEX private functions. More...

Functions

void hal_mpu_disable (void)
 Disables the MPU and clears the HFNMIENA bit (ARM recommendation) More...
 
void hal_mpu_enable (uint32_t mpu_control)
 Enable the MPU. More...
 

Detailed Description

CORTEX private functions.

Function Documentation

◆ hal_mpu_disable()

void hal_mpu_disable ( void  )

Disables the MPU and clears the HFNMIENA bit (ARM recommendation)

◆ hal_mpu_enable()

void hal_mpu_enable ( uint32_t  mpu_control)

Enable the MPU.

Parameters
[in]mpu_controlSpecifies the control mode of the MPU during hard fault, NMI, FAULTMASK and privileged access to the default memory. This parameter can be one of the following values: