STM32L443xx HAL User Manual
|
Extended Clock management functions. More...
Functions | |
HAL_StatusTypeDef | HAL_RCCEx_EnablePLLSAI1 (RCC_PLLSAI1InitTypeDef *PLLSAI1Init) |
Enable PLLSAI1. | |
HAL_StatusTypeDef | HAL_RCCEx_DisablePLLSAI1 (void) |
Disable PLLSAI1. | |
void | HAL_RCCEx_WakeUpStopCLKConfig (uint32_t WakeUpClk) |
Configure the oscillator clock source for wakeup from Stop and CSS backup clock. | |
void | HAL_RCCEx_StandbyMSIRangeConfig (uint32_t MSIRange) |
Configure the MSI range after standby mode. | |
void | HAL_RCCEx_EnableLSECSS (void) |
Enable the LSE Clock Security System. | |
void | HAL_RCCEx_DisableLSECSS (void) |
Disable the LSE Clock Security System. | |
void | HAL_RCCEx_EnableLSECSS_IT (void) |
Enable the LSE Clock Security System Interrupt & corresponding EXTI line. | |
void | HAL_RCCEx_LSECSS_IRQHandler (void) |
Handle the RCC LSE Clock Security System interrupt request. | |
__weak void | HAL_RCCEx_LSECSS_Callback (void) |
RCCEx LSE Clock Security System interrupt callback. | |
void | HAL_RCCEx_EnableLSCO (uint32_t LSCOSource) |
Select the Low Speed clock source to output on LSCO pin (PA2). | |
void | HAL_RCCEx_DisableLSCO (void) |
Disable the Low Speed clock output. | |
void | HAL_RCCEx_EnableMSIPLLMode (void) |
Enable the PLL-mode of the MSI. | |
void | HAL_RCCEx_DisableMSIPLLMode (void) |
Disable the PLL-mode of the MSI. |
Extended Clock management functions.
=============================================================================== ##### Extended clock management functions ##### =============================================================================== [..] This subsection provides a set of functions allowing to control the activation or deactivation of MSI PLL-mode, PLLSAI1, PLLSAI2, LSE CSS, Low speed clock output and clock after wake-up from STOP mode.
void HAL_RCCEx_DisableLSCO | ( | void | ) |
Disable the Low Speed clock output.
None |
Definition at line 2450 of file stm32l4xx_hal_rcc_ex.c.
References __HAL_RCC_PWR_CLK_DISABLE, __HAL_RCC_PWR_CLK_ENABLE, __HAL_RCC_PWR_IS_CLK_DISABLED, HAL_PWR_DisableBkUpAccess(), and HAL_PWR_EnableBkUpAccess().
void HAL_RCCEx_DisableLSECSS | ( | void | ) |
Disable the LSE Clock Security System.
None |
Definition at line 2341 of file stm32l4xx_hal_rcc_ex.c.
References __HAL_RCC_DISABLE_IT, and RCC_IT_LSECSS.
void HAL_RCCEx_DisableMSIPLLMode | ( | void | ) |
Disable the PLL-mode of the MSI.
None |
Definition at line 2498 of file stm32l4xx_hal_rcc_ex.c.
HAL_StatusTypeDef HAL_RCCEx_DisablePLLSAI1 | ( | void | ) |
Disable PLLSAI1.
HAL | status |
Definition at line 2122 of file stm32l4xx_hal_rcc_ex.c.
References __HAL_RCC_PLLSAI1_DISABLE, __HAL_RCC_PLLSAI1CLKOUT_DISABLE, HAL_GetTick(), PLLSAI1_TIMEOUT_VALUE, and RCC_PLLSOURCE_NONE.
void HAL_RCCEx_EnableLSCO | ( | uint32_t | LSCOSource | ) |
Select the Low Speed clock source to output on LSCO pin (PA2).
LSCOSource | specifies the Low Speed clock source to output. This parameter can be one of the following values:
|
None |
Definition at line 2403 of file stm32l4xx_hal_rcc_ex.c.
References __HAL_RCC_PWR_CLK_DISABLE, __HAL_RCC_PWR_CLK_ENABLE, __HAL_RCC_PWR_IS_CLK_DISABLED, __LSCO_CLK_ENABLE, assert_param, GPIO_MODE_ANALOG, GPIO_NOPULL, GPIO_SPEED_FREQ_HIGH, HAL_GPIO_Init(), HAL_PWR_DisableBkUpAccess(), HAL_PWR_EnableBkUpAccess(), IS_RCC_LSCOSOURCE, LSCO_GPIO_PORT, LSCO_PIN, GPIO_InitTypeDef::Mode, GPIO_InitTypeDef::Pin, GPIO_InitTypeDef::Pull, and GPIO_InitTypeDef::Speed.
void HAL_RCCEx_EnableLSECSS | ( | void | ) |
Enable the LSE Clock Security System.
None |
Definition at line 2331 of file stm32l4xx_hal_rcc_ex.c.
void HAL_RCCEx_EnableLSECSS_IT | ( | void | ) |
Enable the LSE Clock Security System Interrupt & corresponding EXTI line.
None |
Definition at line 2354 of file stm32l4xx_hal_rcc_ex.c.
References __HAL_RCC_ENABLE_IT, __HAL_RCC_LSECSS_EXTI_ENABLE_IT, __HAL_RCC_LSECSS_EXTI_ENABLE_RISING_EDGE, and RCC_IT_LSECSS.
void HAL_RCCEx_EnableMSIPLLMode | ( | void | ) |
Enable the PLL-mode of the MSI.
None |
Definition at line 2488 of file stm32l4xx_hal_rcc_ex.c.
HAL_StatusTypeDef HAL_RCCEx_EnablePLLSAI1 | ( | RCC_PLLSAI1InitTypeDef * | PLLSAI1Init | ) |
Enable PLLSAI1.
PLLSAI1Init | pointer to an RCC_PLLSAI1InitTypeDef structure that contains the configuration information for the PLLSAI1 |
HAL | status |
Definition at line 2054 of file stm32l4xx_hal_rcc_ex.c.
References __HAL_RCC_PLLSAI1_CONFIG, __HAL_RCC_PLLSAI1_DISABLE, __HAL_RCC_PLLSAI1_ENABLE, __HAL_RCC_PLLSAI1CLKOUT_ENABLE, assert_param, HAL_GetTick(), IS_RCC_PLLSAI1CLOCKOUT_VALUE, IS_RCC_PLLSAI1M_VALUE, IS_RCC_PLLSAI1N_VALUE, IS_RCC_PLLSAI1P_VALUE, IS_RCC_PLLSAI1Q_VALUE, IS_RCC_PLLSAI1R_VALUE, IS_RCC_PLLSAI1SOURCE, PLLSAI1_TIMEOUT_VALUE, RCC_PLLSAI1InitTypeDef::PLLSAI1ClockOut, RCC_PLLSAI1InitTypeDef::PLLSAI1M, RCC_PLLSAI1InitTypeDef::PLLSAI1N, RCC_PLLSAI1InitTypeDef::PLLSAI1P, RCC_PLLSAI1InitTypeDef::PLLSAI1Q, RCC_PLLSAI1InitTypeDef::PLLSAI1R, and RCC_PLLSAI1InitTypeDef::PLLSAI1Source.
void HAL_RCCEx_LSECSS_Callback | ( | void | ) |
RCCEx LSE Clock Security System interrupt callback.
none |
Definition at line 2388 of file stm32l4xx_hal_rcc_ex.c.
Referenced by HAL_RCCEx_LSECSS_IRQHandler().
void HAL_RCCEx_LSECSS_IRQHandler | ( | void | ) |
Handle the RCC LSE Clock Security System interrupt request.
None |
Definition at line 2371 of file stm32l4xx_hal_rcc_ex.c.
References __HAL_RCC_CLEAR_IT, __HAL_RCC_GET_IT, HAL_RCCEx_LSECSS_Callback(), and RCC_IT_LSECSS.
void HAL_RCCEx_StandbyMSIRangeConfig | ( | uint32_t | MSIRange | ) |
Configure the MSI range after standby mode.
MSIRange | MSI range This parameter can be one of the following values:
|
None |
Definition at line 2317 of file stm32l4xx_hal_rcc_ex.c.
References __HAL_RCC_MSI_STANDBY_RANGE_CONFIG, assert_param, and IS_RCC_MSI_STANDBY_CLOCK_RANGE.
void HAL_RCCEx_WakeUpStopCLKConfig | ( | uint32_t | WakeUpClk | ) |
Configure the oscillator clock source for wakeup from Stop and CSS backup clock.
WakeUpClk | Wakeup clock This parameter can be one of the following values:
|
None |
Definition at line 2299 of file stm32l4xx_hal_rcc_ex.c.
References __HAL_RCC_WAKEUPSTOP_CLK_CONFIG, assert_param, and IS_RCC_STOP_WAKEUPCLOCK.