STM32L4xx_HAL_Driver  1.14.0

Functions

__STATIC_INLINE void LL_RCC_HSE_EnableCSS (void)
 Enable the Clock Security System. CR CSSON LL_RCC_HSE_EnableCSS. More...
 
__STATIC_INLINE void LL_RCC_HSE_EnableBypass (void)
 Enable HSE external oscillator (HSE Bypass) CR HSEBYP LL_RCC_HSE_EnableBypass. More...
 
__STATIC_INLINE void LL_RCC_HSE_DisableBypass (void)
 Disable HSE external oscillator (HSE Bypass) CR HSEBYP LL_RCC_HSE_DisableBypass. More...
 
__STATIC_INLINE void LL_RCC_HSE_Enable (void)
 Enable HSE crystal oscillator (HSE ON) CR HSEON LL_RCC_HSE_Enable. More...
 
__STATIC_INLINE void LL_RCC_HSE_Disable (void)
 Disable HSE crystal oscillator (HSE ON) CR HSEON LL_RCC_HSE_Disable. More...
 
__STATIC_INLINE uint32_t LL_RCC_HSE_IsReady (void)
 Check if HSE oscillator Ready CR HSERDY LL_RCC_HSE_IsReady. More...
 

Detailed Description

Function Documentation

◆ LL_RCC_HSE_Disable()

__STATIC_INLINE void LL_RCC_HSE_Disable ( void  )

Disable HSE crystal oscillator (HSE ON) CR HSEON LL_RCC_HSE_Disable.

Return values
None

Definition at line 2066 of file stm32l4xx_ll_rcc.h.

2067 {
2068  CLEAR_BIT(RCC->CR, RCC_CR_HSEON);
2069 }
CLEAR_BIT(hrtc->Instance->CR, RTC_CR_WUTE)

◆ LL_RCC_HSE_DisableBypass()

__STATIC_INLINE void LL_RCC_HSE_DisableBypass ( void  )

Disable HSE external oscillator (HSE Bypass) CR HSEBYP LL_RCC_HSE_DisableBypass.

Return values
None

Definition at line 2046 of file stm32l4xx_ll_rcc.h.

2047 {
2048  CLEAR_BIT(RCC->CR, RCC_CR_HSEBYP);
2049 }
CLEAR_BIT(hrtc->Instance->CR, RTC_CR_WUTE)

◆ LL_RCC_HSE_Enable()

__STATIC_INLINE void LL_RCC_HSE_Enable ( void  )

Enable HSE crystal oscillator (HSE ON) CR HSEON LL_RCC_HSE_Enable.

Return values
None

Definition at line 2056 of file stm32l4xx_ll_rcc.h.

2057 {
2058  SET_BIT(RCC->CR, RCC_CR_HSEON);
2059 }

◆ LL_RCC_HSE_EnableBypass()

__STATIC_INLINE void LL_RCC_HSE_EnableBypass ( void  )

Enable HSE external oscillator (HSE Bypass) CR HSEBYP LL_RCC_HSE_EnableBypass.

Return values
None

Definition at line 2036 of file stm32l4xx_ll_rcc.h.

2037 {
2038  SET_BIT(RCC->CR, RCC_CR_HSEBYP);
2039 }

◆ LL_RCC_HSE_EnableCSS()

__STATIC_INLINE void LL_RCC_HSE_EnableCSS ( void  )

Enable the Clock Security System. CR CSSON LL_RCC_HSE_EnableCSS.

Return values
None

Definition at line 2026 of file stm32l4xx_ll_rcc.h.

2027 {
2028  SET_BIT(RCC->CR, RCC_CR_CSSON);
2029 }

◆ LL_RCC_HSE_IsReady()

__STATIC_INLINE uint32_t LL_RCC_HSE_IsReady ( void  )

Check if HSE oscillator Ready CR HSERDY LL_RCC_HSE_IsReady.

Return values
Stateof bit (1 or 0).

Definition at line 2076 of file stm32l4xx_ll_rcc.h.

2077 {
2078  return ((READ_BIT(RCC->CR, RCC_CR_HSERDY) == RCC_CR_HSERDY) ? 1UL : 0UL);
2079 }