TUKS MCU Introductory course / TUKS-COURSE-2-LED
Embed: (wiki syntax)

« Back to documentation index

HSI

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 CR HSIKERON LL_RCC_HSI_DisableInStopMode.
__STATIC_INLINE void LL_RCC_HSI_Enable (void)
 Enable HSI oscillator CR HSION LL_RCC_HSI_Enable.
__STATIC_INLINE void LL_RCC_HSI_Disable (void)
 Disable HSI oscillator CR HSION LL_RCC_HSI_Disable.
__STATIC_INLINE uint32_t LL_RCC_HSI_IsReady (void)
 Check if HSI clock is ready CR HSIRDY LL_RCC_HSI_IsReady.
__STATIC_INLINE void LL_RCC_HSI_EnableAutoFromStop (void)
 Enable HSI Automatic from stop mode CR HSIASFS LL_RCC_HSI_EnableAutoFromStop.
__STATIC_INLINE void LL_RCC_HSI_DisableAutoFromStop (void)
 Disable HSI Automatic from stop mode CR HSIASFS LL_RCC_HSI_DisableAutoFromStop.
__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 ICSCR HSITRIM LL_RCC_HSI_GetCalibTrimming.

Function Documentation

__STATIC_INLINE void LL_RCC_HSI_Disable ( void   )

Disable HSI oscillator CR HSION LL_RCC_HSI_Disable.

Return values:
None

Definition at line 1464 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_HSI_DisableAutoFromStop ( void   )

Disable HSI Automatic from stop mode CR HSIASFS LL_RCC_HSI_DisableAutoFromStop.

Return values:
None

Definition at line 1494 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_HSI_DisableInStopMode ( void   )

Disable HSI in stop mode CR HSIKERON LL_RCC_HSI_DisableInStopMode.

Return values:
None

Definition at line 1444 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_HSI_Enable ( void   )

Enable HSI oscillator CR HSION LL_RCC_HSI_Enable.

Return values:
None

Definition at line 1454 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE void LL_RCC_HSI_EnableAutoFromStop ( void   )

Enable HSI Automatic from stop mode CR HSIASFS LL_RCC_HSI_EnableAutoFromStop.

Return values:
None

Definition at line 1484 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 CR HSIKERON LL_RCC_HSI_EnableInStopMode
Return values:
None

Definition at line 1434 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 ICSCR HSICAL LL_RCC_HSI_GetCalibration
Return values:
BetweenMin_Data = 0x00 and Max_Data = 0xFF

Definition at line 1505 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE uint32_t LL_RCC_HSI_GetCalibTrimming ( void   )

Get HSI Calibration trimming ICSCR HSITRIM LL_RCC_HSI_GetCalibTrimming.

Return values:
BetweenMin_Data = 0 and Max_Data = 31

Definition at line 1529 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE uint32_t LL_RCC_HSI_IsReady ( void   )

Check if HSI clock is ready CR HSIRDY LL_RCC_HSI_IsReady.

Return values:
Stateof bit (1 or 0).

Definition at line 1474 of file stm32l4xx_ll_rcc.h.

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

Definition at line 1519 of file stm32l4xx_ll_rcc.h.