STM32L4xx_HAL_Driver  1.14.0
stm32l4xx_ll_cortex.h File Reference

Header file of CORTEX LL module. More...

Go to the source code of this file.

Functions

__STATIC_INLINE uint32_t LL_SYSTICK_IsActiveCounterFlag (void)
 This function checks if the Systick counter flag is active or not. More...
 
__STATIC_INLINE void LL_SYSTICK_SetClkSource (uint32_t Source)
 Configures the SysTick clock source STK_CTRL CLKSOURCE LL_SYSTICK_SetClkSource. More...
 
__STATIC_INLINE uint32_t LL_SYSTICK_GetClkSource (void)
 Get the SysTick clock source STK_CTRL CLKSOURCE LL_SYSTICK_GetClkSource. More...
 
__STATIC_INLINE void LL_SYSTICK_EnableIT (void)
 Enable SysTick exception request STK_CTRL TICKINT LL_SYSTICK_EnableIT. More...
 
__STATIC_INLINE void LL_SYSTICK_DisableIT (void)
 Disable SysTick exception request STK_CTRL TICKINT LL_SYSTICK_DisableIT. More...
 
__STATIC_INLINE uint32_t LL_SYSTICK_IsEnabledIT (void)
 Checks if the SYSTICK interrupt is enabled or disabled. STK_CTRL TICKINT LL_SYSTICK_IsEnabledIT. More...
 
__STATIC_INLINE void LL_LPM_EnableSleep (void)
 Processor uses sleep as its low power mode SCB_SCR SLEEPDEEP LL_LPM_EnableSleep. More...
 
__STATIC_INLINE void LL_LPM_EnableDeepSleep (void)
 Processor uses deep sleep as its low power mode SCB_SCR SLEEPDEEP LL_LPM_EnableDeepSleep. More...
 
__STATIC_INLINE void LL_LPM_EnableSleepOnExit (void)
 Configures sleep-on-exit when returning from Handler mode to Thread mode. More...
 
__STATIC_INLINE void LL_LPM_DisableSleepOnExit (void)
 Do not sleep when returning to Thread mode. SCB_SCR SLEEPONEXIT LL_LPM_DisableSleepOnExit. More...
 
__STATIC_INLINE void LL_LPM_EnableEventOnPend (void)
 Enabled events and all interrupts, including disabled interrupts, can wakeup the processor. SCB_SCR SEVEONPEND LL_LPM_EnableEventOnPend. More...
 
__STATIC_INLINE void LL_LPM_DisableEventOnPend (void)
 Only enabled interrupts or events can wakeup the processor, disabled interrupts are excluded SCB_SCR SEVEONPEND LL_LPM_DisableEventOnPend. More...
 
__STATIC_INLINE void LL_HANDLER_EnableFault (uint32_t Fault)
 Enable a fault in System handler control register (SHCSR) SCB_SHCSR MEMFAULTENA LL_HANDLER_EnableFault. More...
 
__STATIC_INLINE void LL_HANDLER_DisableFault (uint32_t Fault)
 Disable a fault in System handler control register (SHCSR) SCB_SHCSR MEMFAULTENA LL_HANDLER_DisableFault. More...
 
__STATIC_INLINE uint32_t LL_CPUID_GetImplementer (void)
 Get Implementer code SCB_CPUID IMPLEMENTER LL_CPUID_GetImplementer. More...
 
__STATIC_INLINE uint32_t LL_CPUID_GetVariant (void)
 Get Variant number (The r value in the rnpn product revision identifier) SCB_CPUID VARIANT LL_CPUID_GetVariant. More...
 
__STATIC_INLINE uint32_t LL_CPUID_GetConstant (void)
 Get Constant number SCB_CPUID ARCHITECTURE LL_CPUID_GetConstant. More...
 
__STATIC_INLINE uint32_t LL_CPUID_GetParNo (void)
 Get Part number SCB_CPUID PARTNO LL_CPUID_GetParNo. More...
 
__STATIC_INLINE uint32_t LL_CPUID_GetRevision (void)
 Get Revision number (The p value in the rnpn product revision identifier, indicates patch release) SCB_CPUID REVISION LL_CPUID_GetRevision. More...
 
__STATIC_INLINE void LL_MPU_Enable (uint32_t Options)
 Enable MPU with input options MPU_CTRL ENABLE LL_MPU_Enable. More...
 
__STATIC_INLINE void LL_MPU_Disable (void)
 Disable MPU MPU_CTRL ENABLE LL_MPU_Disable. More...
 
__STATIC_INLINE uint32_t LL_MPU_IsEnabled (void)
 Check if MPU is enabled or not MPU_CTRL ENABLE LL_MPU_IsEnabled. More...
 
__STATIC_INLINE void LL_MPU_EnableRegion (uint32_t Region)
 Enable a MPU region MPU_RASR ENABLE LL_MPU_EnableRegion. More...
 
__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. More...
 
__STATIC_INLINE void LL_MPU_DisableRegion (uint32_t Region)
 Disable a region MPU_RNR REGION LL_MPU_DisableRegion
MPU_RASR ENABLE LL_MPU_DisableRegion. More...
 

Detailed Description

Header file of CORTEX LL module.

Author
MCD Application Team
==============================================================================
                   ##### How to use this driver #####
==============================================================================
  [..]
  The LL CORTEX driver contains a set of generic APIs that can be
  used by user:
    (+) SYSTICK configuration used by @ref LL_mDelay and @ref LL_Init1msTick
        functions
    (+) Low power mode configuration (SCB register of Cortex-MCU)
    (+) MPU API to configure and enable regions
    (+) API to access to MCU info (CPUID register)
    (+) API to enable fault handler (SHCSR accesses)
Attention

© Copyright (c) 2017 STMicroelectronics. All rights reserved.

This software component is licensed by ST under BSD 3-Clause license, the "License"; You may not use this file except in compliance with the License. You may obtain a copy of the License at: opensource.org/licenses/BSD-3-Clause

Definition in file stm32l4xx_ll_cortex.h.