Functions
CORTEX Private Functions
Peripheral Driver » HAL Driver » CORTEX » 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_control | Specifies 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: MPU_HFNMI_PRIVDEF_NONE MPU_HARDFAULT_NMI MPU_PRIVILEGED_DEFAULT MPU_HFNMI_PRIVDEF