DIY Logging Volt/Ampmeter

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 @rmtoll STK_CTRL CLKSOURCE LL_SYSTICK_SetClkSource. More...
 
__STATIC_INLINE uint32_t LL_SYSTICK_GetClkSource (void)
 Get the SysTick clock source @rmtoll STK_CTRL CLKSOURCE LL_SYSTICK_GetClkSource. More...
 
__STATIC_INLINE void LL_SYSTICK_EnableIT (void)
 Enable SysTick exception request @rmtoll STK_CTRL TICKINT LL_SYSTICK_EnableIT. More...
 
__STATIC_INLINE void LL_SYSTICK_DisableIT (void)
 Disable SysTick exception request @rmtoll STK_CTRL TICKINT LL_SYSTICK_DisableIT. More...
 
__STATIC_INLINE uint32_t LL_SYSTICK_IsEnabledIT (void)
 Checks if the SYSTICK interrupt is enabled or disabled. @rmtoll STK_CTRL TICKINT LL_SYSTICK_IsEnabledIT. More...
 

Detailed Description

Function Documentation

◆ LL_SYSTICK_DisableIT()

__STATIC_INLINE void LL_SYSTICK_DisableIT ( void  )

Disable SysTick exception request @rmtoll STK_CTRL TICKINT LL_SYSTICK_DisableIT.

Return values
None

Definition at line 283 of file stm32f1xx_ll_cortex.h.

284 {
286 }

◆ LL_SYSTICK_EnableIT()

__STATIC_INLINE void LL_SYSTICK_EnableIT ( void  )

Enable SysTick exception request @rmtoll STK_CTRL TICKINT LL_SYSTICK_EnableIT.

Return values
None

Definition at line 273 of file stm32f1xx_ll_cortex.h.

274 {
276 }

◆ LL_SYSTICK_GetClkSource()

__STATIC_INLINE uint32_t LL_SYSTICK_GetClkSource ( void  )

Get the SysTick clock source @rmtoll STK_CTRL CLKSOURCE LL_SYSTICK_GetClkSource.

Return values
Returnedvalue can be one of the following values:

< AHB clock selected as SysTick clock source.

Definition at line 263 of file stm32f1xx_ll_cortex.h.

264 {
266 }

◆ LL_SYSTICK_IsActiveCounterFlag()

__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. @rmtoll STK_CTRL COUNTFLAG LL_SYSTICK_IsActiveCounterFlag
Return values
Stateof bit (1 or 0).

Definition at line 231 of file stm32f1xx_ll_cortex.h.

232 {
234 }

◆ LL_SYSTICK_IsEnabledIT()

__STATIC_INLINE uint32_t LL_SYSTICK_IsEnabledIT ( void  )

Checks if the SYSTICK interrupt is enabled or disabled. @rmtoll STK_CTRL TICKINT LL_SYSTICK_IsEnabledIT.

Return values
Stateof bit (1 or 0).

Definition at line 293 of file stm32f1xx_ll_cortex.h.

294 {
296 }

◆ LL_SYSTICK_SetClkSource()

__STATIC_INLINE void LL_SYSTICK_SetClkSource ( uint32_t  Source)

Configures the SysTick clock source @rmtoll STK_CTRL CLKSOURCE LL_SYSTICK_SetClkSource.

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

< AHB clock selected as SysTick clock source.

< AHB clock selected as SysTick clock source.

< AHB clock selected as SysTick clock source.

Definition at line 244 of file stm32f1xx_ll_cortex.h.

245 {
246  if (Source == LL_SYSTICK_CLKSOURCE_HCLK)
247  {
249  }
250  else
251  {
253  }
254 }
READ_BIT
#define READ_BIT(REG, BIT)
Definition: stm32f1xx.h:182
SysTick_CTRL_TICKINT_Msk
#define SysTick_CTRL_TICKINT_Msk
Definition: core_armv8mbl.h:574
LL_SYSTICK_CLKSOURCE_HCLK
#define LL_SYSTICK_CLKSOURCE_HCLK
Definition: stm32f1xx_ll_cortex.h:72
SysTick_CTRL_COUNTFLAG_Msk
#define SysTick_CTRL_COUNTFLAG_Msk
Definition: core_armv8mbl.h:568
SysTick
#define SysTick
Definition: core_armv8mbl.h:1123
SET_BIT
#define SET_BIT(REG, BIT)
Definition: stm32f1xx.h:178
CLEAR_BIT
#define CLEAR_BIT(REG, BIT)
Definition: stm32f1xx.h:180