TUKS MCU Introductory course / TUKS-COURSE-THERMOMETER

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

Embed: (wiki syntax)

« Back to documentation index

CRS_Management

Functions

__STATIC_INLINE void LL_CRS_GenerateEvent_SWSYNC (void)
 Generate software SYNC event CR SWSYNC LL_CRS_GenerateEvent_SWSYNC.
__STATIC_INLINE uint32_t LL_CRS_GetFreqErrorDirection (void)
 Get the frequency error direction latched in the time of the last SYNC event ISR FEDIR LL_CRS_GetFreqErrorDirection.
__STATIC_INLINE uint32_t LL_CRS_GetFreqErrorCapture (void)
 Get the frequency error counter value latched in the time of the last SYNC event ISR FECAP LL_CRS_GetFreqErrorCapture.

Function Documentation

__STATIC_INLINE void LL_CRS_GenerateEvent_SWSYNC ( void   )

Generate software SYNC event CR SWSYNC LL_CRS_GenerateEvent_SWSYNC.

Return values:
None

Definition at line 505 of file stm32l4xx_ll_crs.h.

__STATIC_INLINE uint32_t LL_CRS_GetFreqErrorCapture ( void   )

Get the frequency error counter value latched in the time of the last SYNC event ISR FECAP LL_CRS_GetFreqErrorCapture.

Return values:
Anumber between Min_Data = 0x0000 and Max_Data = 0xFFFF

Definition at line 528 of file stm32l4xx_ll_crs.h.

__STATIC_INLINE uint32_t LL_CRS_GetFreqErrorDirection ( void   )

Get the frequency error direction latched in the time of the last SYNC event ISR FEDIR LL_CRS_GetFreqErrorDirection.

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

  • LL_CRS_FREQ_ERROR_DIR_UP
  • LL_CRS_FREQ_ERROR_DIR_DOWN

Definition at line 518 of file stm32l4xx_ll_crs.h.