STM32F4xx_HAL_Driver  1.8.3
+ Collaboration diagram for HSI:

Functions

__STATIC_INLINE void LL_RCC_HSI_Enable (void)
 Enable HSI oscillator @rmtoll CR HSION LL_RCC_HSI_Enable. More...
 
__STATIC_INLINE void LL_RCC_HSI_Disable (void)
 Disable HSI oscillator @rmtoll CR HSION LL_RCC_HSI_Disable. More...
 
__STATIC_INLINE uint32_t LL_RCC_HSI_IsReady (void)
 Check if HSI clock is ready @rmtoll CR HSIRDY LL_RCC_HSI_IsReady. More...
 
__STATIC_INLINE uint32_t LL_RCC_HSI_GetCalibration (void)
 Get HSI Calibration value. More...
 
__STATIC_INLINE void LL_RCC_HSI_SetCalibTrimming (uint32_t Value)
 Set HSI Calibration trimming. More...
 
__STATIC_INLINE uint32_t LL_RCC_HSI_GetCalibTrimming (void)
 Get HSI Calibration trimming @rmtoll CR HSITRIM LL_RCC_HSI_GetCalibTrimming. More...
 

Detailed Description

Function Documentation

◆ LL_RCC_HSI_Disable()

__STATIC_INLINE void LL_RCC_HSI_Disable ( void  )

Disable HSI oscillator @rmtoll CR HSION LL_RCC_HSI_Disable.

Return values
None

Definition at line 2998 of file stm32f4xx_ll_rcc.h.

◆ LL_RCC_HSI_Enable()

__STATIC_INLINE void LL_RCC_HSI_Enable ( void  )

Enable HSI oscillator @rmtoll CR HSION LL_RCC_HSI_Enable.

Return values
None

Definition at line 2988 of file stm32f4xx_ll_rcc.h.

◆ LL_RCC_HSI_GetCalibration()

__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 @rmtoll CR HSICAL LL_RCC_HSI_GetCalibration
Return values
BetweenMin_Data = 0x00 and Max_Data = 0xFF

Definition at line 3020 of file stm32f4xx_ll_rcc.h.

◆ LL_RCC_HSI_GetCalibTrimming()

__STATIC_INLINE uint32_t LL_RCC_HSI_GetCalibTrimming ( void  )

Get HSI Calibration trimming @rmtoll CR HSITRIM LL_RCC_HSI_GetCalibTrimming.

Return values
BetweenMin_Data = 0 and Max_Data = 31

Definition at line 3044 of file stm32f4xx_ll_rcc.h.

◆ LL_RCC_HSI_IsReady()

__STATIC_INLINE uint32_t LL_RCC_HSI_IsReady ( void  )

Check if HSI clock is ready @rmtoll CR HSIRDY LL_RCC_HSI_IsReady.

Return values
Stateof bit (1 or 0).

Definition at line 3008 of file stm32f4xx_ll_rcc.h.

◆ LL_RCC_HSI_SetCalibTrimming()

__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 % @rmtoll CR HSITRIM LL_RCC_HSI_SetCalibTrimming
Parameters
ValueBetween Min_Data = 0 and Max_Data = 31
Return values
None

Definition at line 3034 of file stm32f4xx_ll_rcc.h.