Hal Drivers for L4

Dependents:   BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo

Fork of STM32L4xx_HAL_Driver by Senior Design: Sound Monitor

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 divided by 4 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 957 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 987 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 937 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 947 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 977 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 927 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:
Between0x00 and 0xFF

Definition at line 999 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:
Between0 and 31

Definition at line 1023 of file stm32l4xx_ll_rcc.h.

__STATIC_INLINE uint32_t LL_RCC_HSI_IsReady ( void   )

Check if HSI clock divided by 4 CR HSIRDY LL_RCC_HSI_IsReady.

Return values:
Stateof bit (1 or 0).

Definition at line 967 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 0 and 31
Return values:
None

Definition at line 1013 of file stm32l4xx_ll_rcc.h.