TUKS MCU Introductory course / TUKS-COURSE-THERMOMETER

Fork of TUKS-COURSE-TIMER by TUKS MCU Introductory course

Embed: (wiki syntax)

« Back to documentation index

SYSTICK

Functions

__STATIC_INLINE uint32_t LL_SYSTICK_IsActiveCounterFlag (void)
 This function checks if the Systick counter flag is active or not.
__STATIC_INLINE void LL_SYSTICK_SetClkSource (uint32_t Source)
 Configures the SysTick clock source STK_CTRL CLKSOURCE LL_SYSTICK_SetClkSource.
__STATIC_INLINE uint32_t LL_SYSTICK_GetClkSource (void)
 Get the SysTick clock source STK_CTRL CLKSOURCE LL_SYSTICK_GetClkSource.
__STATIC_INLINE void LL_SYSTICK_EnableIT (void)
 Enable SysTick exception request STK_CTRL TICKINT LL_SYSTICK_EnableIT.
__STATIC_INLINE void LL_SYSTICK_DisableIT (void)
 Disable SysTick exception request STK_CTRL TICKINT LL_SYSTICK_DisableIT.
__STATIC_INLINE uint32_t LL_SYSTICK_IsEnabledIT (void)
 Checks if the SYSTICK interrupt is enabled or disabled.

Function Documentation

__STATIC_INLINE void LL_SYSTICK_DisableIT ( void   )

Disable SysTick exception request STK_CTRL TICKINT LL_SYSTICK_DisableIT.

Return values:
None

Definition at line 300 of file stm32l4xx_ll_cortex.h.

__STATIC_INLINE void LL_SYSTICK_EnableIT ( void   )

Enable SysTick exception request STK_CTRL TICKINT LL_SYSTICK_EnableIT.

Return values:
None

Definition at line 290 of file stm32l4xx_ll_cortex.h.

__STATIC_INLINE uint32_t LL_SYSTICK_GetClkSource ( void   )

Get the SysTick clock source STK_CTRL CLKSOURCE LL_SYSTICK_GetClkSource.

Return values:
Returnedvalue can be one of the following values:

  • LL_SYSTICK_CLKSOURCE_HCLK_DIV8
  • LL_SYSTICK_CLKSOURCE_HCLK

Definition at line 280 of file stm32l4xx_ll_cortex.h.

__STATIC_INLINE uint32_t LL_SYSTICK_IsActiveCounterFlag ( void   )

This function checks if the Systick counter flag is active or not.

Note:
It can be used in timeout function on application side. STK_CTRL COUNTFLAG LL_SYSTICK_IsActiveCounterFlag
Return values:
Stateof bit (1 or 0).

Definition at line 248 of file stm32l4xx_ll_cortex.h.

__STATIC_INLINE uint32_t LL_SYSTICK_IsEnabledIT ( void   )

Checks if the SYSTICK interrupt is enabled or disabled.

STK_CTRL TICKINT LL_SYSTICK_IsEnabledIT

Return values:
Stateof bit (1 or 0).

Definition at line 310 of file stm32l4xx_ll_cortex.h.

__STATIC_INLINE void LL_SYSTICK_SetClkSource ( uint32_t  Source )

Configures the SysTick clock source STK_CTRL CLKSOURCE LL_SYSTICK_SetClkSource.

Parameters:
SourceThis parameter can be one of the following values:

  • LL_SYSTICK_CLKSOURCE_HCLK_DIV8
  • LL_SYSTICK_CLKSOURCE_HCLK
Return values:
None

Definition at line 261 of file stm32l4xx_ll_cortex.h.