Hal Drivers for L4
Dependents: BSP OneHopeOnePrayer FINAL_AUDIO_RECORD AudioDemo
Fork of STM32L4xx_HAL_Driver by
Functions | |
__STATIC_INLINE void | LL_RCC_MSI_Enable (void) |
Enable MSI oscillator CR MSION LL_RCC_MSI_Enable. | |
__STATIC_INLINE void | LL_RCC_MSI_Disable (void) |
Disable MSI oscillator CR MSION LL_RCC_MSI_Disable. | |
__STATIC_INLINE uint32_t | LL_RCC_MSI_IsReady (void) |
Check if MSI oscillator Ready CR MSIRDY LL_RCC_MSI_IsReady. | |
__STATIC_INLINE void | LL_RCC_MSI_EnablePLLMode (void) |
Enable MSI PLL-mode (Hardware auto calibration with LSE) | |
__STATIC_INLINE void | LL_RCC_MSI_DisablePLLMode (void) |
Disable MSI-PLL mode. | |
__STATIC_INLINE void | LL_RCC_MSI_EnableRangeSelection (void) |
Enable MSI clock range selection with MSIRANGE register. | |
__STATIC_INLINE uint32_t | LL_RCC_MSI_IsEnabledRangeSelect (void) |
Check if MSI clock range is selected with MSIRANGE register CR MSIRGSEL LL_RCC_MSI_IsEnabledRangeSelect. | |
__STATIC_INLINE void | LL_RCC_MSI_SetRange (uint32_t Range) |
Configure the Internal Multi Speed oscillator (MSI) clock range in run mode. | |
__STATIC_INLINE uint32_t | LL_RCC_MSI_GetRange (void) |
Get the Internal Multi Speed oscillator (MSI) clock range in run mode. | |
__STATIC_INLINE void | LL_RCC_MSI_SetRangeAfterStandby (uint32_t Range) |
Configure MSI range used after standby CSR MSISRANGE LL_RCC_MSI_SetRangeAfterStandby. | |
__STATIC_INLINE uint32_t | LL_RCC_MSI_GetRangeAfterStandby (void) |
Get MSI range used after standby CSR MSISRANGE LL_RCC_MSI_GetRangeAfterStandby. | |
__STATIC_INLINE uint32_t | LL_RCC_MSI_GetCalibration (void) |
Get MSI Calibration value. | |
__STATIC_INLINE void | LL_RCC_MSI_SetCalibTrimming (uint32_t Value) |
Set MSI Calibration trimming. | |
__STATIC_INLINE uint32_t | LL_RCC_MSI_GetCalibTrimming (void) |
Get MSI Calibration trimming ICSCR MSITRIM LL_RCC_MSI_GetCalibTrimming. |
Function Documentation
__STATIC_INLINE void LL_RCC_MSI_Disable | ( | void | ) |
Disable MSI oscillator CR MSION LL_RCC_MSI_Disable.
- Return values:
-
None
Definition at line 1197 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE void LL_RCC_MSI_DisablePLLMode | ( | void | ) |
Disable MSI-PLL mode.
- Note:
- cleared by hardware when LSE is disabled (LSEON = 0) or when the Clock Security System on LSE detects a LSE failure CR MSIPLLEN LL_RCC_MSI_DisablePLLMode
- Return values:
-
None
Definition at line 1233 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE void LL_RCC_MSI_Enable | ( | void | ) |
Enable MSI oscillator CR MSION LL_RCC_MSI_Enable.
- Return values:
-
None
Definition at line 1187 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE void LL_RCC_MSI_EnablePLLMode | ( | void | ) |
Enable MSI PLL-mode (Hardware auto calibration with LSE)
- Note:
- MSIPLLEN must be enabled after LSE is enabled (LSEON enabled) and ready (LSERDY set by hardware)
- hardware protection to avoid enabling MSIPLLEN if LSE is not ready CR MSIPLLEN LL_RCC_MSI_EnablePLLMode
- Return values:
-
None
Definition at line 1221 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE void LL_RCC_MSI_EnableRangeSelection | ( | void | ) |
Enable MSI clock range selection with MSIRANGE register.
- Note:
- Write 0 has no effect. After a standby or a reset MSIRGSEL is at 0 and the MSI range value is provided by MSISRANGE CR MSIRGSEL LL_RCC_MSI_EnableRangeSelection
- Return values:
-
None
Definition at line 1246 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE uint32_t LL_RCC_MSI_GetCalibration | ( | void | ) |
Get MSI Calibration value.
- Note:
- When MSITRIM is written, MSICAL is updated with the sum of MSITRIM and the factory trim value ICSCR MSICAL LL_RCC_MSI_GetCalibration
- Return values:
-
Between 0 and 255
Definition at line 1342 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE uint32_t LL_RCC_MSI_GetCalibTrimming | ( | void | ) |
Get MSI Calibration trimming ICSCR MSITRIM LL_RCC_MSI_GetCalibTrimming.
- Return values:
-
Between 0 and 255
Definition at line 1364 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE uint32_t LL_RCC_MSI_GetRange | ( | void | ) |
Get the Internal Multi Speed oscillator (MSI) clock range in run mode.
CR MSIRANGE LL_RCC_MSI_GetRange
- Return values:
-
Returned value can be one of the following values: - LL_RCC_MSIRANGE_0
- LL_RCC_MSIRANGE_1
- LL_RCC_MSIRANGE_2
- LL_RCC_MSIRANGE_3
- LL_RCC_MSIRANGE_4
- LL_RCC_MSIRANGE_5
- LL_RCC_MSIRANGE_6
- LL_RCC_MSIRANGE_7
- LL_RCC_MSIRANGE_8
- LL_RCC_MSIRANGE_9
- LL_RCC_MSIRANGE_10
- LL_RCC_MSIRANGE_11
Definition at line 1301 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE uint32_t LL_RCC_MSI_GetRangeAfterStandby | ( | void | ) |
Get MSI range used after standby CSR MSISRANGE LL_RCC_MSI_GetRangeAfterStandby.
- Return values:
-
Returned value can be one of the following values: - LL_RCC_MSISRANGE_4
- LL_RCC_MSISRANGE_5
- LL_RCC_MSISRANGE_6
- LL_RCC_MSISRANGE_7
Definition at line 1330 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE uint32_t LL_RCC_MSI_IsEnabledRangeSelect | ( | void | ) |
Check if MSI clock range is selected with MSIRANGE register CR MSIRGSEL LL_RCC_MSI_IsEnabledRangeSelect.
- Return values:
-
State of bit (1 or 0).
Definition at line 1256 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE uint32_t LL_RCC_MSI_IsReady | ( | void | ) |
Check if MSI oscillator Ready CR MSIRDY LL_RCC_MSI_IsReady.
- Return values:
-
State of bit (1 or 0).
Definition at line 1207 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE void LL_RCC_MSI_SetCalibTrimming | ( | uint32_t | Value ) |
Set MSI Calibration trimming.
- Note:
- user-programmable trimming value that is added to the MSICAL ICSCR MSITRIM LL_RCC_MSI_SetCalibTrimming
- Parameters:
-
Value Between 0 and 255
- Return values:
-
None
Definition at line 1354 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE void LL_RCC_MSI_SetRange | ( | uint32_t | Range ) |
Configure the Internal Multi Speed oscillator (MSI) clock range in run mode.
CR MSIRANGE LL_RCC_MSI_SetRange
- Parameters:
-
Range This parameter can be one of the following values: - LL_RCC_MSIRANGE_0
- LL_RCC_MSIRANGE_1
- LL_RCC_MSIRANGE_2
- LL_RCC_MSIRANGE_3
- LL_RCC_MSIRANGE_4
- LL_RCC_MSIRANGE_5
- LL_RCC_MSIRANGE_6
- LL_RCC_MSIRANGE_7
- LL_RCC_MSIRANGE_8
- LL_RCC_MSIRANGE_9
- LL_RCC_MSIRANGE_10
- LL_RCC_MSIRANGE_11
- Return values:
-
None
Definition at line 1279 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE void LL_RCC_MSI_SetRangeAfterStandby | ( | uint32_t | Range ) |
Configure MSI range used after standby CSR MSISRANGE LL_RCC_MSI_SetRangeAfterStandby.
- Parameters:
-
Range This parameter can be one of the following values: - LL_RCC_MSISRANGE_4
- LL_RCC_MSISRANGE_5
- LL_RCC_MSISRANGE_6
- LL_RCC_MSISRANGE_7
- Return values:
-
None
Definition at line 1316 of file stm32l4xx_ll_rcc.h.
Generated on Tue Jul 12 2022 11:35:24 by
