STM32L486xx HAL User Manual
Functions
HSI
RCC Exported Functions

Functions

__STATIC_INLINE void LL_RCC_HSI_EnableInStopMode (void)
 Enable HSI even in stop mode.
__STATIC_INLINE void LL_RCC_HSI_DisableInStopMode (void)
 Disable HSI in stop mode.
__STATIC_INLINE uint32_t LL_RCC_HSI_IsEnabledInStopMode (void)
 Check if HSI is enabled in stop mode.
__STATIC_INLINE void LL_RCC_HSI_Enable (void)
 Enable HSI oscillator.
__STATIC_INLINE void LL_RCC_HSI_Disable (void)
 Disable HSI oscillator.
__STATIC_INLINE uint32_t LL_RCC_HSI_IsReady (void)
 Check if HSI clock is ready.
__STATIC_INLINE void LL_RCC_HSI_EnableAutoFromStop (void)
 Enable HSI Automatic from stop mode.
__STATIC_INLINE void LL_RCC_HSI_DisableAutoFromStop (void)
 Disable HSI Automatic from stop mode.
__STATIC_INLINE uint32_t LL_RCC_HSI_GetCalibration (void)
 Get HSI Calibration value.
__STATIC_INLINE void LL_RCC_HSI_SetCalibTrimming (uint32_t Value)
 Set HSI Calibration trimming.
__STATIC_INLINE uint32_t LL_RCC_HSI_GetCalibTrimming (void)
 Get HSI Calibration trimming.

Function Documentation

__STATIC_INLINE void LL_RCC_HSI_Disable ( void  )

Disable HSI oscillator.

Reference Manual to LL API cross reference:
CR HSION LL_RCC_HSI_Disable
Return values:
None

Definition at line 2116 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_HSI_DisableAutoFromStop ( void  )

Disable HSI Automatic from stop mode.

Reference Manual to LL API cross reference:
CR HSIASFS LL_RCC_HSI_DisableAutoFromStop
Return values:
None

Definition at line 2146 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_HSI_DisableInStopMode ( void  )

Disable HSI in stop mode.

Reference Manual to LL API cross reference:
CR HSIKERON LL_RCC_HSI_DisableInStopMode
Return values:
None

Definition at line 2086 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_HSI_Enable ( void  )

Enable HSI oscillator.

Reference Manual to LL API cross reference:
CR HSION LL_RCC_HSI_Enable
Return values:
None

Definition at line 2106 of file stm32l4xx_ll_rcc.h.

Referenced by LL_PLL_ConfigSystemClock_HSI().

__STATIC_INLINE void LL_RCC_HSI_EnableAutoFromStop ( void  )

Enable HSI Automatic from stop mode.

Reference Manual to LL API cross reference:
CR HSIASFS LL_RCC_HSI_EnableAutoFromStop
Return values:
None

Definition at line 2136 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_HSI_EnableInStopMode ( void  )

Enable HSI even in stop mode.

Note:
HSI oscillator is forced ON even in Stop mode
Reference Manual to LL API cross reference:
CR HSIKERON LL_RCC_HSI_EnableInStopMode
Return values:
None

Definition at line 2076 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE uint32_t LL_RCC_HSI_GetCalibration ( void  )

Get HSI Calibration value.

Note:
When HSITRIM is written, HSICAL is updated with the sum of HSITRIM and the factory trim value
Reference Manual to LL API cross reference:
ICSCR HSICAL LL_RCC_HSI_GetCalibration
Return values:
BetweenMin_Data = 0x00 and Max_Data = 0xFF

Definition at line 2157 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE uint32_t LL_RCC_HSI_GetCalibTrimming ( void  )

Get HSI Calibration trimming.

Reference Manual to LL API cross reference:
ICSCR HSITRIM LL_RCC_HSI_GetCalibTrimming
Return values:
BetweenMin_Data = 0 and Max_Data = 31

Definition at line 2181 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE uint32_t LL_RCC_HSI_IsEnabledInStopMode ( void  )

Check if HSI is enabled in stop mode.

Reference Manual to LL API cross reference:
CR HSIKERON LL_RCC_HSI_IsEnabledInStopMode
Return values:
Stateof bit (1 or 0).

Definition at line 2096 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE uint32_t LL_RCC_HSI_IsReady ( void  )

Check if HSI clock is ready.

Reference Manual to LL API cross reference:
CR HSIRDY LL_RCC_HSI_IsReady
Return values:
Stateof bit (1 or 0).

Definition at line 2126 of file stm32l4xx_ll_rcc.h.

Referenced by LL_PLL_ConfigSystemClock_HSI(), LL_RCC_GetI2CClockFreq(), LL_RCC_GetLPTIMClockFreq(), LL_RCC_GetLPUARTClockFreq(), LL_RCC_GetSWPMIClockFreq(), LL_RCC_GetUARTClockFreq(), and LL_RCC_GetUSARTClockFreq().

__STATIC_INLINE void LL_RCC_HSI_SetCalibTrimming ( uint32_t  Value)

Set HSI Calibration trimming.

Note:
user-programmable trimming value that is added to the HSICAL
Default value is 16, which, when added to the HSICAL value, should trim the HSI to 16 MHz +/- 1 %
Reference Manual to LL API cross reference:
ICSCR HSITRIM LL_RCC_HSI_SetCalibTrimming
Parameters:
ValueBetween Min_Data = 0 and Max_Data = 31
Return values:
None

Definition at line 2171 of file stm32l4xx_ll_rcc.h.

Referenced by LL_RCC_DeInit().