Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
PLLSAI2
[RCC Exported Functions]
Functions | |
__STATIC_INLINE void | LL_RCC_PLLSAI2_Enable (void) |
Enable PLLSAI2 CR PLLSAI2ON LL_RCC_PLLSAI2_Enable. | |
__STATIC_INLINE void | LL_RCC_PLLSAI2_Disable (void) |
Disable PLLSAI2 CR PLLSAI2ON LL_RCC_PLLSAI2_Disable. | |
__STATIC_INLINE uint32_t | LL_RCC_PLLSAI2_IsReady (void) |
Check if PLLSAI2 Ready CR PLLSAI2RDY LL_RCC_PLLSAI2_IsReady. | |
__STATIC_INLINE void | LL_RCC_PLLSAI2_ConfigDomain_SAI (uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLP) |
Configure PLLSAI2 used for SAI domain clock. | |
__STATIC_INLINE void | LL_RCC_PLLSAI2_ConfigDomain_ADC (uint32_t Source, uint32_t PLLM, uint32_t PLLN, uint32_t PLLR) |
Configure PLLSAI2 used for ADC domain clock. | |
__STATIC_INLINE uint32_t | LL_RCC_PLLSAI2_GetN (void) |
Get SAI2PLL multiplication factor for VCO PLLSAI2CFGR PLLSAI2N LL_RCC_PLLSAI2_GetN. | |
__STATIC_INLINE uint32_t | LL_RCC_PLLSAI2_GetP (void) |
Get SAI2PLL division factor for PLLSAI2P. | |
__STATIC_INLINE uint32_t | LL_RCC_PLLSAI2_GetR (void) |
Get SAI2PLL division factor for PLLSAI2R. | |
__STATIC_INLINE void | LL_RCC_PLLSAI2_EnableDomain_SAI (void) |
Enable PLLSAI2 output mapped on SAI domain clock PLLSAI2CFGR PLLSAI2PEN LL_RCC_PLLSAI2_EnableDomain_SAI. | |
__STATIC_INLINE void | LL_RCC_PLLSAI2_DisableDomain_SAI (void) |
Disable PLLSAI2 output mapped on SAI domain clock. | |
__STATIC_INLINE void | LL_RCC_PLLSAI2_EnableDomain_ADC (void) |
Enable PLLSAI2 output mapped on ADC domain clock PLLSAI2CFGR PLLSAI2REN LL_RCC_PLLSAI2_EnableDomain_ADC. | |
__STATIC_INLINE void | LL_RCC_PLLSAI2_DisableDomain_ADC (void) |
Disable PLLSAI2 output mapped on ADC domain clock. |
Function Documentation
__STATIC_INLINE void LL_RCC_PLLSAI2_ConfigDomain_ADC | ( | uint32_t | Source, |
uint32_t | PLLM, | ||
uint32_t | PLLN, | ||
uint32_t | PLLR | ||
) |
Configure PLLSAI2 used for ADC domain clock.
- Note:
- PLL Source and PLLM Divider can be written only when PLL, PLLSAI2 and PLLSAI2 are disabled
- PLLN/PLLR can be written only when PLLSAI2 is disabled
-
This can be selected for ADC PLLCFGR PLLSRC LL_RCC_PLLSAI2_ConfigDomain_ADC
PLLCFGR PLLM LL_RCC_PLLSAI2_ConfigDomain_ADC
PLLSAI2CFGR PLLSAI2N LL_RCC_PLLSAI2_ConfigDomain_ADC
PLLSAI2CFGR PLLSAI2R LL_RCC_PLLSAI2_ConfigDomain_ADC
- Parameters:
-
Source This parameter can be one of the following values: - LL_RCC_PLLSOURCE_NONE
- LL_RCC_PLLSOURCE_MSI
- LL_RCC_PLLSOURCE_HSI
- LL_RCC_PLLSOURCE_HSE
PLLM This parameter can be one of the following values: - LL_RCC_PLLM_DIV_1
- LL_RCC_PLLM_DIV_2
- LL_RCC_PLLM_DIV_3
- LL_RCC_PLLM_DIV_4
- LL_RCC_PLLM_DIV_5
- LL_RCC_PLLM_DIV_6
- LL_RCC_PLLM_DIV_7
- LL_RCC_PLLM_DIV_8
PLLN Between 8 and 86 PLLR This parameter can be one of the following values: - LL_RCC_PLLSAI2R_DIV_2
- LL_RCC_PLLSAI2R_DIV_4
- LL_RCC_PLLSAI2R_DIV_6
- LL_RCC_PLLSAI2R_DIV_8
- Return values:
-
None
Definition at line 3645 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE void LL_RCC_PLLSAI2_ConfigDomain_SAI | ( | uint32_t | Source, |
uint32_t | PLLM, | ||
uint32_t | PLLN, | ||
uint32_t | PLLP | ||
) |
Configure PLLSAI2 used for SAI domain clock.
- Note:
- PLL Source and PLLM Divider can be written only when PLL, PLLSAI2 and PLLSAI2 are disabled
- PLLN/PLLP can be written only when PLLSAI2 is disabled
-
This can be selected for SAI1 or SAI2 PLLCFGR PLLSRC LL_RCC_PLLSAI2_ConfigDomain_SAI
PLLCFGR PLLM LL_RCC_PLLSAI2_ConfigDomain_SAI
PLLSAI2CFGR PLLSAI2N LL_RCC_PLLSAI2_ConfigDomain_SAI
PLLSAI2CFGR PLLSAI2P LL_RCC_PLLSAI2_ConfigDomain_SAI
- Parameters:
-
Source This parameter can be one of the following values: - LL_RCC_PLLSOURCE_NONE
- LL_RCC_PLLSOURCE_MSI
- LL_RCC_PLLSOURCE_HSI
- LL_RCC_PLLSOURCE_HSE
PLLM This parameter can be one of the following values: - LL_RCC_PLLM_DIV_1
- LL_RCC_PLLM_DIV_2
- LL_RCC_PLLM_DIV_3
- LL_RCC_PLLM_DIV_4
- LL_RCC_PLLM_DIV_5
- LL_RCC_PLLM_DIV_6
- LL_RCC_PLLM_DIV_7
- LL_RCC_PLLM_DIV_8
PLLN Between 8 and 86 PLLP This parameter can be one of the following values: - LL_RCC_PLLSAI2P_DIV_7
- LL_RCC_PLLSAI2P_DIV_17
- Return values:
-
None
Definition at line 3607 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE void LL_RCC_PLLSAI2_Disable | ( | void | ) |
Disable PLLSAI2 CR PLLSAI2ON LL_RCC_PLLSAI2_Disable.
- Return values:
-
None
Definition at line 3562 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE void LL_RCC_PLLSAI2_DisableDomain_ADC | ( | void | ) |
Disable PLLSAI2 output mapped on ADC domain clock.
- Note:
- In order to save power, when of the PLLSAI2 is not used, Main PLLSAI2 should be 0 PLLSAI2CFGR PLLSAI2REN LL_RCC_PLLSAI2_DisableDomain_ADC
- Return values:
-
None
Definition at line 3728 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE void LL_RCC_PLLSAI2_DisableDomain_SAI | ( | void | ) |
Disable PLLSAI2 output mapped on SAI domain clock.
- Note:
- In order to save power, when of the PLLSAI2 is not used, should be 0 PLLSAI2CFGR PLLSAI2PEN LL_RCC_PLLSAI2_DisableDomain_SAI
- Return values:
-
None
Definition at line 3706 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE void LL_RCC_PLLSAI2_Enable | ( | void | ) |
Enable PLLSAI2 CR PLLSAI2ON LL_RCC_PLLSAI2_Enable.
- Return values:
-
None
Definition at line 3552 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE void LL_RCC_PLLSAI2_EnableDomain_ADC | ( | void | ) |
Enable PLLSAI2 output mapped on ADC domain clock PLLSAI2CFGR PLLSAI2REN LL_RCC_PLLSAI2_EnableDomain_ADC.
- Return values:
-
None
Definition at line 3716 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE void LL_RCC_PLLSAI2_EnableDomain_SAI | ( | void | ) |
Enable PLLSAI2 output mapped on SAI domain clock PLLSAI2CFGR PLLSAI2PEN LL_RCC_PLLSAI2_EnableDomain_SAI.
- Return values:
-
None
Definition at line 3694 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE uint32_t LL_RCC_PLLSAI2_GetN | ( | void | ) |
Get SAI2PLL multiplication factor for VCO PLLSAI2CFGR PLLSAI2N LL_RCC_PLLSAI2_GetN.
- Return values:
-
Between 8 and 86
Definition at line 3656 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE uint32_t LL_RCC_PLLSAI2_GetP | ( | void | ) |
Get SAI2PLL division factor for PLLSAI2P.
- Note:
- used for PLLSAI2CLK (SAI1 or SAI2 clock). PLLSAI2CFGR PLLSAI2P LL_RCC_PLLSAI2_GetP
- Return values:
-
Returned value can be one of the following values: - LL_RCC_PLLSAI2P_DIV_7
- LL_RCC_PLLSAI2P_DIV_17
Definition at line 3669 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE uint32_t LL_RCC_PLLSAI2_GetR | ( | void | ) |
Get SAI2PLL division factor for PLLSAI2R.
- Note:
- used for PLLADC2CLK (ADC clock) PLLSAI2CFGR PLLSAI2R LL_RCC_PLLSAI2_GetR
- Return values:
-
Returned value can be one of the following values: - LL_RCC_PLLSAI2R_DIV_2
- LL_RCC_PLLSAI2R_DIV_4
- LL_RCC_PLLSAI2R_DIV_6
- LL_RCC_PLLSAI2R_DIV_8
Definition at line 3684 of file stm32l4xx_ll_rcc.h.
__STATIC_INLINE uint32_t LL_RCC_PLLSAI2_IsReady | ( | void | ) |
Check if PLLSAI2 Ready CR PLLSAI2RDY LL_RCC_PLLSAI2_IsReady.
- Return values:
-
State of bit (1 or 0).
Definition at line 3572 of file stm32l4xx_ll_rcc.h.
Generated on Tue Jul 12 2022 17:38:58 by
