STM32L4xx_HAL_Driver  1.14.0

Functions

__STATIC_INLINE uint32_t LL_CRS_IsActiveFlag_SYNCOK (void)
 Check if SYNC event OK signal occurred or not ISR SYNCOKF LL_CRS_IsActiveFlag_SYNCOK. More...
 
__STATIC_INLINE uint32_t LL_CRS_IsActiveFlag_SYNCWARN (void)
 Check if SYNC warning signal occurred or not ISR SYNCWARNF LL_CRS_IsActiveFlag_SYNCWARN. More...
 
__STATIC_INLINE uint32_t LL_CRS_IsActiveFlag_ERR (void)
 Check if Synchronization or trimming error signal occurred or not ISR ERRF LL_CRS_IsActiveFlag_ERR. More...
 
__STATIC_INLINE uint32_t LL_CRS_IsActiveFlag_ESYNC (void)
 Check if Expected SYNC signal occurred or not ISR ESYNCF LL_CRS_IsActiveFlag_ESYNC. More...
 
__STATIC_INLINE uint32_t LL_CRS_IsActiveFlag_SYNCERR (void)
 Check if SYNC error signal occurred or not ISR SYNCERR LL_CRS_IsActiveFlag_SYNCERR. More...
 
__STATIC_INLINE uint32_t LL_CRS_IsActiveFlag_SYNCMISS (void)
 Check if SYNC missed error signal occurred or not ISR SYNCMISS LL_CRS_IsActiveFlag_SYNCMISS. More...
 
__STATIC_INLINE uint32_t LL_CRS_IsActiveFlag_TRIMOVF (void)
 Check if Trimming overflow or underflow occurred or not ISR TRIMOVF LL_CRS_IsActiveFlag_TRIMOVF. More...
 
__STATIC_INLINE void LL_CRS_ClearFlag_SYNCOK (void)
 Clear the SYNC event OK flag ICR SYNCOKC LL_CRS_ClearFlag_SYNCOK. More...
 
__STATIC_INLINE void LL_CRS_ClearFlag_SYNCWARN (void)
 Clear the SYNC warning flag ICR SYNCWARNC LL_CRS_ClearFlag_SYNCWARN. More...
 
__STATIC_INLINE void LL_CRS_ClearFlag_ERR (void)
 Clear TRIMOVF, SYNCMISS and SYNCERR bits and consequently also the ERR flag ICR ERRC LL_CRS_ClearFlag_ERR. More...
 
__STATIC_INLINE void LL_CRS_ClearFlag_ESYNC (void)
 Clear Expected SYNC flag ICR ESYNCC LL_CRS_ClearFlag_ESYNC. More...
 

Detailed Description

Function Documentation

◆ LL_CRS_ClearFlag_ERR()

__STATIC_INLINE void LL_CRS_ClearFlag_ERR ( void  )

Clear TRIMOVF, SYNCMISS and SYNCERR bits and consequently also the ERR flag ICR ERRC LL_CRS_ClearFlag_ERR.

Return values
None

Definition at line 609 of file stm32l4xx_ll_crs.h.

610 {
611  WRITE_REG(CRS->ICR, CRS_ICR_ERRC);
612 }

◆ LL_CRS_ClearFlag_ESYNC()

__STATIC_INLINE void LL_CRS_ClearFlag_ESYNC ( void  )

Clear Expected SYNC flag ICR ESYNCC LL_CRS_ClearFlag_ESYNC.

Return values
None

Definition at line 619 of file stm32l4xx_ll_crs.h.

620 {
621  WRITE_REG(CRS->ICR, CRS_ICR_ESYNCC);
622 }

◆ LL_CRS_ClearFlag_SYNCOK()

__STATIC_INLINE void LL_CRS_ClearFlag_SYNCOK ( void  )

Clear the SYNC event OK flag ICR SYNCOKC LL_CRS_ClearFlag_SYNCOK.

Return values
None

Definition at line 588 of file stm32l4xx_ll_crs.h.

589 {
590  WRITE_REG(CRS->ICR, CRS_ICR_SYNCOKC);
591 }

◆ LL_CRS_ClearFlag_SYNCWARN()

__STATIC_INLINE void LL_CRS_ClearFlag_SYNCWARN ( void  )

Clear the SYNC warning flag ICR SYNCWARNC LL_CRS_ClearFlag_SYNCWARN.

Return values
None

Definition at line 598 of file stm32l4xx_ll_crs.h.

599 {
600  WRITE_REG(CRS->ICR, CRS_ICR_SYNCWARNC);
601 }

◆ LL_CRS_IsActiveFlag_ERR()

__STATIC_INLINE uint32_t LL_CRS_IsActiveFlag_ERR ( void  )

Check if Synchronization or trimming error signal occurred or not ISR ERRF LL_CRS_IsActiveFlag_ERR.

Return values
Stateof bit (1 or 0).

Definition at line 538 of file stm32l4xx_ll_crs.h.

539 {
540  return (READ_BIT(CRS->ISR, CRS_ISR_ERRF) == (CRS_ISR_ERRF));
541 }

◆ LL_CRS_IsActiveFlag_ESYNC()

__STATIC_INLINE uint32_t LL_CRS_IsActiveFlag_ESYNC ( void  )

Check if Expected SYNC signal occurred or not ISR ESYNCF LL_CRS_IsActiveFlag_ESYNC.

Return values
Stateof bit (1 or 0).

Definition at line 548 of file stm32l4xx_ll_crs.h.

549 {
550  return (READ_BIT(CRS->ISR, CRS_ISR_ESYNCF) == (CRS_ISR_ESYNCF));
551 }

◆ LL_CRS_IsActiveFlag_SYNCERR()

__STATIC_INLINE uint32_t LL_CRS_IsActiveFlag_SYNCERR ( void  )

Check if SYNC error signal occurred or not ISR SYNCERR LL_CRS_IsActiveFlag_SYNCERR.

Return values
Stateof bit (1 or 0).

Definition at line 558 of file stm32l4xx_ll_crs.h.

559 {
560  return (READ_BIT(CRS->ISR, CRS_ISR_SYNCERR) == (CRS_ISR_SYNCERR));
561 }

◆ LL_CRS_IsActiveFlag_SYNCMISS()

__STATIC_INLINE uint32_t LL_CRS_IsActiveFlag_SYNCMISS ( void  )

Check if SYNC missed error signal occurred or not ISR SYNCMISS LL_CRS_IsActiveFlag_SYNCMISS.

Return values
Stateof bit (1 or 0).

Definition at line 568 of file stm32l4xx_ll_crs.h.

569 {
570  return (READ_BIT(CRS->ISR, CRS_ISR_SYNCMISS) == (CRS_ISR_SYNCMISS));
571 }

◆ LL_CRS_IsActiveFlag_SYNCOK()

__STATIC_INLINE uint32_t LL_CRS_IsActiveFlag_SYNCOK ( void  )

Check if SYNC event OK signal occurred or not ISR SYNCOKF LL_CRS_IsActiveFlag_SYNCOK.

Return values
Stateof bit (1 or 0).

Definition at line 518 of file stm32l4xx_ll_crs.h.

519 {
520  return (READ_BIT(CRS->ISR, CRS_ISR_SYNCOKF) == (CRS_ISR_SYNCOKF));
521 }

◆ LL_CRS_IsActiveFlag_SYNCWARN()

__STATIC_INLINE uint32_t LL_CRS_IsActiveFlag_SYNCWARN ( void  )

Check if SYNC warning signal occurred or not ISR SYNCWARNF LL_CRS_IsActiveFlag_SYNCWARN.

Return values
Stateof bit (1 or 0).

Definition at line 528 of file stm32l4xx_ll_crs.h.

529 {
530  return (READ_BIT(CRS->ISR, CRS_ISR_SYNCWARNF) == (CRS_ISR_SYNCWARNF));
531 }

◆ LL_CRS_IsActiveFlag_TRIMOVF()

__STATIC_INLINE uint32_t LL_CRS_IsActiveFlag_TRIMOVF ( void  )

Check if Trimming overflow or underflow occurred or not ISR TRIMOVF LL_CRS_IsActiveFlag_TRIMOVF.

Return values
Stateof bit (1 or 0).

Definition at line 578 of file stm32l4xx_ll_crs.h.

579 {
580  return (READ_BIT(CRS->ISR, CRS_ISR_TRIMOVF) == (CRS_ISR_TRIMOVF));
581 }