Hal Drivers for L4
Dependents: BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo
Fork of STM32L4xx_HAL_Driver by
Functions | |
__STATIC_INLINE void | LL_MPU_Enable (uint32_t Options) |
Enable MPU with input options MPU_CTRL ENABLE LL_MPU_Enable. | |
__STATIC_INLINE void | LL_MPU_Disable (void) |
Disable MPU MPU_CTRL ENABLE LL_MPU_Disable. | |
__STATIC_INLINE uint32_t | LL_MPU_IsEnabled (void) |
Check if MPU is enabled or not MPU_CTRL ENABLE LL_MPU_IsEnabled. | |
__STATIC_INLINE void | LL_MPU_EnableRegion (uint32_t Region) |
Enable a MPU region MPU_RASR ENABLE LL_MPU_EnableRegion. | |
__STATIC_INLINE void | LL_MPU_ConfigRegion (uint32_t Region, uint32_t SubRegionDisable, uint32_t Address, uint32_t Attributes) |
Configure and enable a region 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. | |
__STATIC_INLINE void | LL_MPU_DisableRegion (uint32_t Region) |
Disable a region MPU_RNR REGION LL_MPU_DisableRegion MPU_RASR ENABLE LL_MPU_DisableRegion. |
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 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:
-
Region This parameter can be one of the following values: - LL_MPU_REGION_NUMBER0
- LL_MPU_REGION_NUMBER1
- LL_MPU_REGION_NUMBER2
- LL_MPU_REGION_NUMBER3
- LL_MPU_REGION_NUMBER4
- LL_MPU_REGION_NUMBER5
- LL_MPU_REGION_NUMBER6
- LL_MPU_REGION_NUMBER7
Address Value of region base address SubRegionDisable Sub-region disable value between Min_Data = 0x00 and Max_Data = 0xFF Attributes This parameter can be a combination of the following values: - LL_MPU_REGION_SIZE_32B or LL_MPU_REGION_SIZE_64B or LL_MPU_REGION_SIZE_128B or LL_MPU_REGION_SIZE_256B or LL_MPU_REGION_SIZE_512B or LL_MPU_REGION_SIZE_1KB or LL_MPU_REGION_SIZE_2KB or LL_MPU_REGION_SIZE_4KB or LL_MPU_REGION_SIZE_8KB or LL_MPU_REGION_SIZE_16KB or LL_MPU_REGION_SIZE_32KB or LL_MPU_REGION_SIZE_64KB or LL_MPU_REGION_SIZE_128KB or LL_MPU_REGION_SIZE_256KB or LL_MPU_REGION_SIZE_512KB or LL_MPU_REGION_SIZE_1MB or LL_MPU_REGION_SIZE_2MB or LL_MPU_REGION_SIZE_4MB or LL_MPU_REGION_SIZE_8MB or LL_MPU_REGION_SIZE_16MB or LL_MPU_REGION_SIZE_32MB or LL_MPU_REGION_SIZE_64MB or LL_MPU_REGION_SIZE_128MB or LL_MPU_REGION_SIZE_256MB or LL_MPU_REGION_SIZE_512MB or LL_MPU_REGION_SIZE_1GB or LL_MPU_REGION_SIZE_2GB or LL_MPU_REGION_SIZE_4GB
- LL_MPU_REGION_NO_ACCESS or LL_MPU_REGION_PRIV_RW or LL_MPU_REGION_PRIV_RW_URO or LL_MPU_REGION_FULL_ACCESS or LL_MPU_REGION_PRIV_RO or LL_MPU_REGION_PRIV_RO_URO
- LL_MPU_TEX_LEVEL0 or LL_MPU_TEX_LEVEL1 or LL_MPU_TEX_LEVEL2 or LL_MPU_TEX_LEVEL4
- LL_MPU_INSTRUCTION_ACCESS_ENABLE or LL_MPU_INSTRUCTION_ACCESS_DISABLE
- LL_MPU_ACCESS_SHAREABLE or LL_MPU_ACCESS_NOT_SHAREABLE
- LL_MPU_ACCESS_CACHEABLE or LL_MPU_ACCESS_NOT_CACHEABLE
- LL_MPU_ACCESS_BUFFERABLE or LL_MPU_ACCESS_NOT_BUFFERABLE
- Return values:
-
None
Definition at line 598 of file stm32l4xx_ll_cortex.h.
__STATIC_INLINE void LL_MPU_Disable | ( | void | ) |
Disable MPU MPU_CTRL ENABLE LL_MPU_Disable.
- Return values:
-
None
Definition at line 520 of file stm32l4xx_ll_cortex.h.
__STATIC_INLINE void LL_MPU_DisableRegion | ( | uint32_t | Region ) |
Disable a region MPU_RNR REGION LL_MPU_DisableRegion
MPU_RASR ENABLE LL_MPU_DisableRegion.
- Parameters:
-
Region This parameter can be one of the following values: - LL_MPU_REGION_NUMBER0
- LL_MPU_REGION_NUMBER1
- LL_MPU_REGION_NUMBER2
- LL_MPU_REGION_NUMBER3
- LL_MPU_REGION_NUMBER4
- LL_MPU_REGION_NUMBER5
- LL_MPU_REGION_NUMBER6
- LL_MPU_REGION_NUMBER7
- Return values:
-
None
Definition at line 623 of file stm32l4xx_ll_cortex.h.
__STATIC_INLINE void LL_MPU_Enable | ( | uint32_t | Options ) |
Enable MPU with input options MPU_CTRL ENABLE LL_MPU_Enable.
- Parameters:
-
Options This parameter can be one of the following values: - LL_MPU_CTRL_HFNMI_PRIVDEF_NONE
- LL_MPU_CTRL_HARDFAULT_NMI
- LL_MPU_CTRL_PRIVILEGED_DEFAULT
- LL_MPU_CTRL_HFNMI_PRIVDEF
- Return values:
-
None
Definition at line 505 of file stm32l4xx_ll_cortex.h.
__STATIC_INLINE void LL_MPU_EnableRegion | ( | uint32_t | Region ) |
Enable a MPU region MPU_RASR ENABLE LL_MPU_EnableRegion.
- Parameters:
-
Region This parameter can be one of the following values: - LL_MPU_REGION_NUMBER0
- LL_MPU_REGION_NUMBER1
- LL_MPU_REGION_NUMBER2
- LL_MPU_REGION_NUMBER3
- LL_MPU_REGION_NUMBER4
- LL_MPU_REGION_NUMBER5
- LL_MPU_REGION_NUMBER6
- LL_MPU_REGION_NUMBER7
- Return values:
-
None
Definition at line 552 of file stm32l4xx_ll_cortex.h.
__STATIC_INLINE uint32_t LL_MPU_IsEnabled | ( | void | ) |
Check if MPU is enabled or not MPU_CTRL ENABLE LL_MPU_IsEnabled.
- Return values:
-
State of bit (1 or 0).
Definition at line 533 of file stm32l4xx_ll_cortex.h.
Generated on Tue Jul 12 2022 11:35:21 by 1.7.2