STM32F439xx HAL User Manual
Functions
MPU
CORTEX Exported Functions

Functions

__STATIC_INLINE void LL_MPU_Enable (uint32_t Options)
 Enable MPU with input options.
__STATIC_INLINE void LL_MPU_Disable (void)
 Disable MPU.
__STATIC_INLINE uint32_t LL_MPU_IsEnabled (void)
 Check if MPU is enabled or not.
__STATIC_INLINE void LL_MPU_EnableRegion (uint32_t Region)
 Enable a MPU region.
__STATIC_INLINE void LL_MPU_ConfigRegion (uint32_t Region, uint32_t SubRegionDisable, uint32_t Address, uint32_t Attributes)
 Configure and enable a region.
__STATIC_INLINE void LL_MPU_DisableRegion (uint32_t Region)
 Disable a region.

Function Documentation

__STATIC_INLINE void LL_MPU_ConfigRegion ( uint32_t  Region,
uint32_t  SubRegionDisable,
uint32_t  Address,
uint32_t  Attributes 
)

Configure and enable a region.

Reference Manual to LL API cross reference:
MPU_RNR REGION LL_MPU_ConfigRegion
MPU_RBAR REGION LL_MPU_ConfigRegion
MPU_RBAR ADDR LL_MPU_ConfigRegion
MPU_RASR XN LL_MPU_ConfigRegion
MPU_RASR AP LL_MPU_ConfigRegion
MPU_RASR S LL_MPU_ConfigRegion
MPU_RASR C LL_MPU_ConfigRegion
MPU_RASR B LL_MPU_ConfigRegion
MPU_RASR SIZE LL_MPU_ConfigRegion
Parameters:
RegionThis parameter can be one of the following values:
AddressValue of region base address
SubRegionDisableSub-region disable value between Min_Data = 0x00 and Max_Data = 0xFF
AttributesThis parameter can be a combination of the following values:
Return values:
None

Definition at line 600 of file stm32f4xx_ll_cortex.h.

__STATIC_INLINE void LL_MPU_Disable ( void  )

Disable MPU.

Reference Manual to LL API cross reference:
MPU_CTRL ENABLE LL_MPU_Disable
Return values:
None

Definition at line 522 of file stm32f4xx_ll_cortex.h.

__STATIC_INLINE void LL_MPU_DisableRegion ( uint32_t  Region)

Disable a region.

Reference Manual to LL API cross reference:
MPU_RNR REGION LL_MPU_DisableRegion
MPU_RASR ENABLE LL_MPU_DisableRegion
Parameters:
RegionThis parameter can be one of the following values:
Return values:
None

Definition at line 625 of file stm32f4xx_ll_cortex.h.

__STATIC_INLINE void LL_MPU_Enable ( uint32_t  Options)

Enable MPU with input options.

Reference Manual to LL API cross reference:
MPU_CTRL ENABLE LL_MPU_Enable
Parameters:
OptionsThis parameter can be one of the following values:
Return values:
None

Definition at line 507 of file stm32f4xx_ll_cortex.h.

__STATIC_INLINE void LL_MPU_EnableRegion ( uint32_t  Region)

Enable a MPU region.

Reference Manual to LL API cross reference:
MPU_RASR ENABLE LL_MPU_EnableRegion
Parameters:
RegionThis parameter can be one of the following values:
Return values:
None

Definition at line 554 of file stm32f4xx_ll_cortex.h.

__STATIC_INLINE uint32_t LL_MPU_IsEnabled ( void  )

Check if MPU is enabled or not.

Reference Manual to LL API cross reference:
MPU_CTRL ENABLE LL_MPU_IsEnabled
Return values:
Stateof bit (1 or 0).

Definition at line 535 of file stm32f4xx_ll_cortex.h.