STM32L486xx HAL User Manual
Functions
LSE
RCC Exported Functions

Functions

__STATIC_INLINE void LL_RCC_LSE_Enable (void)
 Enable Low Speed External (LSE) crystal.
__STATIC_INLINE void LL_RCC_LSE_Disable (void)
 Disable Low Speed External (LSE) crystal.
__STATIC_INLINE void LL_RCC_LSE_EnableBypass (void)
 Enable external clock source (LSE bypass).
__STATIC_INLINE void LL_RCC_LSE_DisableBypass (void)
 Disable external clock source (LSE bypass).
__STATIC_INLINE void LL_RCC_LSE_SetDriveCapability (uint32_t LSEDrive)
 Set LSE oscillator drive capability.
__STATIC_INLINE uint32_t LL_RCC_LSE_GetDriveCapability (void)
 Get LSE oscillator drive capability.
__STATIC_INLINE void LL_RCC_LSE_EnableCSS (void)
 Enable Clock security system on LSE.
__STATIC_INLINE void LL_RCC_LSE_DisableCSS (void)
 Disable Clock security system on LSE.
__STATIC_INLINE uint32_t LL_RCC_LSE_IsReady (void)
 Check if LSE oscillator Ready.
__STATIC_INLINE uint32_t LL_RCC_LSE_IsCSSDetected (void)
 Check if CSS on LSE failure Detection.

Function Documentation

__STATIC_INLINE void LL_RCC_LSE_Disable ( void  )

Disable Low Speed External (LSE) crystal.

Reference Manual to LL API cross reference:
BDCR LSEON LL_RCC_LSE_Disable
Return values:
None

Definition at line 2259 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_LSE_DisableBypass ( void  )

Disable external clock source (LSE bypass).

Reference Manual to LL API cross reference:
BDCR LSEBYP LL_RCC_LSE_DisableBypass
Return values:
None

Definition at line 2279 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_LSE_DisableCSS ( void  )

Disable Clock security system on LSE.

Note:
Clock security system can be disabled only after a LSE failure detection. In that case it MUST be disabled by software.
Reference Manual to LL API cross reference:
BDCR LSECSSON LL_RCC_LSE_DisableCSS
Return values:
None

Definition at line 2331 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_LSE_Enable ( void  )

Enable Low Speed External (LSE) crystal.

Reference Manual to LL API cross reference:
BDCR LSEON LL_RCC_LSE_Enable
Return values:
None

Definition at line 2249 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_LSE_EnableBypass ( void  )

Enable external clock source (LSE bypass).

Reference Manual to LL API cross reference:
BDCR LSEBYP LL_RCC_LSE_EnableBypass
Return values:
None

Definition at line 2269 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_LSE_EnableCSS ( void  )

Enable Clock security system on LSE.

Reference Manual to LL API cross reference:
BDCR LSECSSON LL_RCC_LSE_EnableCSS
Return values:
None

Definition at line 2319 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE uint32_t LL_RCC_LSE_GetDriveCapability ( void  )

Get LSE oscillator drive capability.

Reference Manual to LL API cross reference:
BDCR LSEDRV LL_RCC_LSE_GetDriveCapability
Return values:
Returnedvalue can be one of the following values:

Definition at line 2309 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE uint32_t LL_RCC_LSE_IsCSSDetected ( void  )

Check if CSS on LSE failure Detection.

Reference Manual to LL API cross reference:
BDCR LSECSSD LL_RCC_LSE_IsCSSDetected
Return values:
Stateof bit (1 or 0).

Definition at line 2351 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE uint32_t LL_RCC_LSE_IsReady ( void  )

Check if LSE oscillator Ready.

Reference Manual to LL API cross reference:
BDCR LSERDY LL_RCC_LSE_IsReady
Return values:
Stateof bit (1 or 0).

Definition at line 2341 of file stm32l4xx_ll_rcc.h.

Referenced by LL_RCC_GetLPTIMClockFreq(), LL_RCC_GetLPUARTClockFreq(), LL_RCC_GetUARTClockFreq(), and LL_RCC_GetUSARTClockFreq().

__STATIC_INLINE void LL_RCC_LSE_SetDriveCapability ( uint32_t  LSEDrive)

Set LSE oscillator drive capability.

Note:
The oscillator is in Xtal mode when it is not in bypass mode.
Reference Manual to LL API cross reference:
BDCR LSEDRV LL_RCC_LSE_SetDriveCapability
Parameters:
LSEDriveThis parameter can be one of the following values:
Return values:
None

Definition at line 2295 of file stm32l4xx_ll_rcc.h.