STM32L443xx HAL User Manual
|
Modules | |
Flags Interrupts Management | |
macros to manage the specified RCC Flags and interrupts. | |
RCCEx CRS Extended Features | |
Defines | |
#define | __HAL_RCC_PLLSAI1_CONFIG(__PLLSAI1N__, __PLLSAI1P__, __PLLSAI1Q__, __PLLSAI1R__) |
Macro to configure the PLLSAI1 clock multiplication and division factors. | |
#define | __HAL_RCC_PLLSAI1_MULN_CONFIG(__PLLSAI1N__) MODIFY_REG(RCC->PLLSAI1CFGR, RCC_PLLSAI1CFGR_PLLSAI1N, (__PLLSAI1N__) << RCC_PLLSAI1CFGR_PLLSAI1N_Pos) |
Macro to configure the PLLSAI1 clock multiplication factor N. | |
#define | __HAL_RCC_PLLSAI1_DIVP_CONFIG(__PLLSAI1P__) MODIFY_REG(RCC->PLLSAI1CFGR, RCC_PLLSAI1CFGR_PLLSAI1PDIV, (__PLLSAI1P__) << RCC_PLLSAI1CFGR_PLLSAI1PDIV_Pos) |
Macro to configure the PLLSAI1 clock division factor P. | |
#define | __HAL_RCC_PLLSAI1_DIVQ_CONFIG(__PLLSAI1Q__) MODIFY_REG(RCC->PLLSAI1CFGR, RCC_PLLSAI1CFGR_PLLSAI1Q, (((__PLLSAI1Q__) >> 1U) - 1U) << RCC_PLLSAI1CFGR_PLLSAI1Q_Pos) |
Macro to configure the PLLSAI1 clock division factor Q. | |
#define | __HAL_RCC_PLLSAI1_DIVR_CONFIG(__PLLSAI1R__) MODIFY_REG(RCC->PLLSAI1CFGR, RCC_PLLSAI1CFGR_PLLSAI1R, (((__PLLSAI1R__) >> 1U) - 1U) << RCC_PLLSAI1CFGR_PLLSAI1R_Pos) |
Macro to configure the PLLSAI1 clock division factor R. | |
#define | __HAL_RCC_PLLSAI1_ENABLE() SET_BIT(RCC->CR, RCC_CR_PLLSAI1ON) |
Macros to enable or disable the PLLSAI1. | |
#define | __HAL_RCC_PLLSAI1_DISABLE() CLEAR_BIT(RCC->CR, RCC_CR_PLLSAI1ON) |
#define | __HAL_RCC_PLLSAI1CLKOUT_ENABLE(__PLLSAI1_CLOCKOUT__) SET_BIT(RCC->PLLSAI1CFGR, (__PLLSAI1_CLOCKOUT__)) |
Macros to enable or disable each clock output (PLLSAI1_SAI1, PLLSAI1_USB2 and PLLSAI1_ADC1). | |
#define | __HAL_RCC_PLLSAI1CLKOUT_DISABLE(__PLLSAI1_CLOCKOUT__) CLEAR_BIT(RCC->PLLSAI1CFGR, (__PLLSAI1_CLOCKOUT__)) |
#define | __HAL_RCC_GET_PLLSAI1CLKOUT_CONFIG(__PLLSAI1_CLOCKOUT__) READ_BIT(RCC->PLLSAI1CFGR, (__PLLSAI1_CLOCKOUT__)) |
Macro to get clock output enable status (PLLSAI1_SAI1, PLLSAI1_USB2 and PLLSAI1_ADC1). | |
#define | __HAL_RCC_SAI1_CONFIG(__SAI1_CLKSOURCE__) MODIFY_REG(RCC->CCIPR, RCC_CCIPR_SAI1SEL, (__SAI1_CLKSOURCE__)) |
Macro to configure the SAI1 clock source. | |
#define | __HAL_RCC_GET_SAI1_SOURCE() (READ_BIT(RCC->CCIPR, RCC_CCIPR_SAI1SEL)) |
Macro to get the SAI1 clock source. | |
#define | __HAL_RCC_I2C1_CONFIG(__I2C1_CLKSOURCE__) MODIFY_REG(RCC->CCIPR, RCC_CCIPR_I2C1SEL, (__I2C1_CLKSOURCE__)) |
Macro to configure the I2C1 clock (I2C1CLK). | |
#define | __HAL_RCC_GET_I2C1_SOURCE() (READ_BIT(RCC->CCIPR, RCC_CCIPR_I2C1SEL)) |
Macro to get the I2C1 clock source. | |
#define | __HAL_RCC_I2C2_CONFIG(__I2C2_CLKSOURCE__) MODIFY_REG(RCC->CCIPR, RCC_CCIPR_I2C2SEL, (__I2C2_CLKSOURCE__)) |
Macro to configure the I2C2 clock (I2C2CLK). | |
#define | __HAL_RCC_GET_I2C2_SOURCE() (READ_BIT(RCC->CCIPR, RCC_CCIPR_I2C2SEL)) |
Macro to get the I2C2 clock source. | |
#define | __HAL_RCC_I2C3_CONFIG(__I2C3_CLKSOURCE__) MODIFY_REG(RCC->CCIPR, RCC_CCIPR_I2C3SEL, (__I2C3_CLKSOURCE__)) |
Macro to configure the I2C3 clock (I2C3CLK). | |
#define | __HAL_RCC_GET_I2C3_SOURCE() (READ_BIT(RCC->CCIPR, RCC_CCIPR_I2C3SEL)) |
Macro to get the I2C3 clock source. | |
#define | __HAL_RCC_USART1_CONFIG(__USART1_CLKSOURCE__) MODIFY_REG(RCC->CCIPR, RCC_CCIPR_USART1SEL, (__USART1_CLKSOURCE__)) |
Macro to configure the USART1 clock (USART1CLK). | |
#define | __HAL_RCC_GET_USART1_SOURCE() (READ_BIT(RCC->CCIPR, RCC_CCIPR_USART1SEL)) |
Macro to get the USART1 clock source. | |
#define | __HAL_RCC_USART2_CONFIG(__USART2_CLKSOURCE__) MODIFY_REG(RCC->CCIPR, RCC_CCIPR_USART2SEL, (__USART2_CLKSOURCE__)) |
Macro to configure the USART2 clock (USART2CLK). | |
#define | __HAL_RCC_GET_USART2_SOURCE() (READ_BIT(RCC->CCIPR, RCC_CCIPR_USART2SEL)) |
Macro to get the USART2 clock source. | |
#define | __HAL_RCC_USART3_CONFIG(__USART3_CLKSOURCE__) MODIFY_REG(RCC->CCIPR, RCC_CCIPR_USART3SEL, (__USART3_CLKSOURCE__)) |
Macro to configure the USART3 clock (USART3CLK). | |
#define | __HAL_RCC_GET_USART3_SOURCE() (READ_BIT(RCC->CCIPR, RCC_CCIPR_USART3SEL)) |
Macro to get the USART3 clock source. | |
#define | __HAL_RCC_LPUART1_CONFIG(__LPUART1_CLKSOURCE__) MODIFY_REG(RCC->CCIPR, RCC_CCIPR_LPUART1SEL, (__LPUART1_CLKSOURCE__)) |
Macro to configure the LPUART1 clock (LPUART1CLK). | |
#define | __HAL_RCC_GET_LPUART1_SOURCE() (READ_BIT(RCC->CCIPR, RCC_CCIPR_LPUART1SEL)) |
Macro to get the LPUART1 clock source. | |
#define | __HAL_RCC_LPTIM1_CONFIG(__LPTIM1_CLKSOURCE__) MODIFY_REG(RCC->CCIPR, RCC_CCIPR_LPTIM1SEL, (__LPTIM1_CLKSOURCE__)) |
Macro to configure the LPTIM1 clock (LPTIM1CLK). | |
#define | __HAL_RCC_GET_LPTIM1_SOURCE() (READ_BIT(RCC->CCIPR, RCC_CCIPR_LPTIM1SEL)) |
Macro to get the LPTIM1 clock source. | |
#define | __HAL_RCC_LPTIM2_CONFIG(__LPTIM2_CLKSOURCE__) MODIFY_REG(RCC->CCIPR, RCC_CCIPR_LPTIM2SEL, (__LPTIM2_CLKSOURCE__)) |
Macro to configure the LPTIM2 clock (LPTIM2CLK). | |
#define | __HAL_RCC_GET_LPTIM2_SOURCE() (READ_BIT(RCC->CCIPR, RCC_CCIPR_LPTIM2SEL)) |
Macro to get the LPTIM2 clock source. | |
#define | __HAL_RCC_SDMMC1_CONFIG(__SDMMC1_CLKSOURCE__) MODIFY_REG(RCC->CCIPR, RCC_CCIPR_CLK48SEL, (__SDMMC1_CLKSOURCE__)) |
Macro to configure the SDMMC1 clock. | |
#define | __HAL_RCC_GET_SDMMC1_SOURCE() (READ_BIT(RCC->CCIPR, RCC_CCIPR_CLK48SEL)) |
Macro to get the SDMMC1 clock. | |
#define | __HAL_RCC_RNG_CONFIG(__RNG_CLKSOURCE__) MODIFY_REG(RCC->CCIPR, RCC_CCIPR_CLK48SEL, (__RNG_CLKSOURCE__)) |
Macro to configure the RNG clock. | |
#define | __HAL_RCC_GET_RNG_SOURCE() (READ_BIT(RCC->CCIPR, RCC_CCIPR_CLK48SEL)) |
Macro to get the RNG clock. | |
#define | __HAL_RCC_USB_CONFIG(__USB_CLKSOURCE__) MODIFY_REG(RCC->CCIPR, RCC_CCIPR_CLK48SEL, (__USB_CLKSOURCE__)) |
Macro to configure the USB clock (USBCLK). | |
#define | __HAL_RCC_GET_USB_SOURCE() (READ_BIT(RCC->CCIPR, RCC_CCIPR_CLK48SEL)) |
Macro to get the USB clock source. | |
#define | __HAL_RCC_ADC_CONFIG(__ADC_CLKSOURCE__) MODIFY_REG(RCC->CCIPR, RCC_CCIPR_ADCSEL, (__ADC_CLKSOURCE__)) |
Macro to configure the ADC interface clock. | |
#define | __HAL_RCC_GET_ADC_SOURCE() (READ_BIT(RCC->CCIPR, RCC_CCIPR_ADCSEL)) |
Macro to get the ADC clock source. | |
#define | __HAL_RCC_SWPMI1_CONFIG(__SWPMI1_CLKSOURCE__) MODIFY_REG(RCC->CCIPR, RCC_CCIPR_SWPMI1SEL, (__SWPMI1_CLKSOURCE__)) |
Macro to configure the SWPMI1 clock. | |
#define | __HAL_RCC_GET_SWPMI1_SOURCE() (READ_BIT(RCC->CCIPR, RCC_CCIPR_SWPMI1SEL)) |
Macro to get the SWPMI1 clock source. |
#define __HAL_RCC_ADC_CONFIG | ( | __ADC_CLKSOURCE__ | ) | MODIFY_REG(RCC->CCIPR, RCC_CCIPR_ADCSEL, (__ADC_CLKSOURCE__)) |
Macro to configure the ADC interface clock.
__ADC_CLKSOURCE__ | specifies the ADC digital interface clock source. This parameter can be one of the following values:
|
None |
Definition at line 1899 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define __HAL_RCC_GET_ADC_SOURCE | ( | ) | (READ_BIT(RCC->CCIPR, RCC_CCIPR_ADCSEL)) |
Macro to get the ADC clock source.
The | clock source can be one of the following values:
|
Definition at line 1911 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKConfig(), and HAL_RCCEx_GetPeriphCLKFreq().
#define __HAL_RCC_GET_I2C1_SOURCE | ( | ) | (READ_BIT(RCC->CCIPR, RCC_CCIPR_I2C1SEL)) |
Macro to get the I2C1 clock source.
The | clock source can be one of the following values:
|
Definition at line 1473 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKConfig(), and HAL_RCCEx_GetPeriphCLKFreq().
#define __HAL_RCC_GET_I2C2_SOURCE | ( | ) | (READ_BIT(RCC->CCIPR, RCC_CCIPR_I2C2SEL)) |
Macro to get the I2C2 clock source.
The | clock source can be one of the following values:
|
Definition at line 1495 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKConfig(), and HAL_RCCEx_GetPeriphCLKFreq().
#define __HAL_RCC_GET_I2C3_SOURCE | ( | ) | (READ_BIT(RCC->CCIPR, RCC_CCIPR_I2C3SEL)) |
Macro to get the I2C3 clock source.
The | clock source can be one of the following values:
|
Definition at line 1517 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKConfig(), and HAL_RCCEx_GetPeriphCLKFreq().
#define __HAL_RCC_GET_LPTIM1_SOURCE | ( | ) | (READ_BIT(RCC->CCIPR, RCC_CCIPR_LPTIM1SEL)) |
Macro to get the LPTIM1 clock source.
The | clock source can be one of the following values:
|
Definition at line 1708 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKConfig(), HAL_RCCEx_GetPeriphCLKFreq(), and LPTIM_Disable().
#define __HAL_RCC_GET_LPTIM2_SOURCE | ( | ) | (READ_BIT(RCC->CCIPR, RCC_CCIPR_LPTIM2SEL)) |
Macro to get the LPTIM2 clock source.
The | clock source can be one of the following values:
|
Definition at line 1730 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKConfig(), HAL_RCCEx_GetPeriphCLKFreq(), and LPTIM_Disable().
#define __HAL_RCC_GET_LPUART1_SOURCE | ( | ) | (READ_BIT(RCC->CCIPR, RCC_CCIPR_LPUART1SEL)) |
Macro to get the LPUART1 clock source.
The | clock source can be one of the following values:
|
Definition at line 1686 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKConfig(), and HAL_RCCEx_GetPeriphCLKFreq().
#define __HAL_RCC_GET_PLLSAI1CLKOUT_CONFIG | ( | __PLLSAI1_CLOCKOUT__ | ) | READ_BIT(RCC->PLLSAI1CFGR, (__PLLSAI1_CLOCKOUT__)) |
Macro to get clock output enable status (PLLSAI1_SAI1, PLLSAI1_USB2 and PLLSAI1_ADC1).
__PLLSAI1_CLOCKOUT__ | specifies the PLLSAI1 clock to be output. This parameter can be one of the following values:
|
SET | / RESET |
Definition at line 1098 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKFreq(), and RCCEx_GetSAIxPeriphCLKFreq().
#define __HAL_RCC_GET_RNG_SOURCE | ( | ) | (READ_BIT(RCC->CCIPR, RCC_CCIPR_CLK48SEL)) |
Macro to get the RNG clock.
The | clock source can be one of the following values:
|
Definition at line 1846 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKConfig().
#define __HAL_RCC_GET_SAI1_SOURCE | ( | ) | (READ_BIT(RCC->CCIPR, RCC_CCIPR_SAI1SEL)) |
Macro to get the SAI1 clock source.
The | clock source can be one of the following values:
|
Definition at line 1410 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKConfig(), and RCCEx_GetSAIxPeriphCLKFreq().
#define __HAL_RCC_GET_SDMMC1_SOURCE | ( | ) | (READ_BIT(RCC->CCIPR, RCC_CCIPR_CLK48SEL)) |
Macro to get the SDMMC1 clock.
The | clock source can be one of the following values:
|
Definition at line 1808 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKConfig().
#define __HAL_RCC_GET_SWPMI1_SOURCE | ( | ) | (READ_BIT(RCC->CCIPR, RCC_CCIPR_SWPMI1SEL)) |
Macro to get the SWPMI1 clock source.
The | clock source can be one of the following values:
|
Definition at line 1940 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKConfig(), and HAL_RCCEx_GetPeriphCLKFreq().
#define __HAL_RCC_GET_USART1_SOURCE | ( | ) | (READ_BIT(RCC->CCIPR, RCC_CCIPR_USART1SEL)) |
Macro to get the USART1 clock source.
The | clock source can be one of the following values:
|
Definition at line 1564 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKConfig(), and HAL_RCCEx_GetPeriphCLKFreq().
#define __HAL_RCC_GET_USART2_SOURCE | ( | ) | (READ_BIT(RCC->CCIPR, RCC_CCIPR_USART2SEL)) |
Macro to get the USART2 clock source.
The | clock source can be one of the following values:
|
Definition at line 1586 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKConfig(), and HAL_RCCEx_GetPeriphCLKFreq().
#define __HAL_RCC_GET_USART3_SOURCE | ( | ) | (READ_BIT(RCC->CCIPR, RCC_CCIPR_USART3SEL)) |
Macro to get the USART3 clock source.
The | clock source can be one of the following values:
|
Definition at line 1610 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKConfig(), and HAL_RCCEx_GetPeriphCLKFreq().
#define __HAL_RCC_GET_USB_SOURCE | ( | ) | (READ_BIT(RCC->CCIPR, RCC_CCIPR_CLK48SEL)) |
Macro to get the USB clock source.
The | clock source can be one of the following values:
|
Definition at line 1882 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKConfig().
#define __HAL_RCC_I2C1_CONFIG | ( | __I2C1_CLKSOURCE__ | ) | MODIFY_REG(RCC->CCIPR, RCC_CCIPR_I2C1SEL, (__I2C1_CLKSOURCE__)) |
Macro to configure the I2C1 clock (I2C1CLK).
__I2C1_CLKSOURCE__ | specifies the I2C1 clock source. This parameter can be one of the following values:
|
None |
Definition at line 1464 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define __HAL_RCC_I2C2_CONFIG | ( | __I2C2_CLKSOURCE__ | ) | MODIFY_REG(RCC->CCIPR, RCC_CCIPR_I2C2SEL, (__I2C2_CLKSOURCE__)) |
Macro to configure the I2C2 clock (I2C2CLK).
__I2C2_CLKSOURCE__ | specifies the I2C2 clock source. This parameter can be one of the following values:
|
None |
Definition at line 1486 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define __HAL_RCC_I2C3_CONFIG | ( | __I2C3_CLKSOURCE__ | ) | MODIFY_REG(RCC->CCIPR, RCC_CCIPR_I2C3SEL, (__I2C3_CLKSOURCE__)) |
Macro to configure the I2C3 clock (I2C3CLK).
__I2C3_CLKSOURCE__ | specifies the I2C3 clock source. This parameter can be one of the following values:
|
None |
Definition at line 1508 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define __HAL_RCC_LPTIM1_CONFIG | ( | __LPTIM1_CLKSOURCE__ | ) | MODIFY_REG(RCC->CCIPR, RCC_CCIPR_LPTIM1SEL, (__LPTIM1_CLKSOURCE__)) |
Macro to configure the LPTIM1 clock (LPTIM1CLK).
__LPTIM1_CLKSOURCE__ | specifies the LPTIM1 clock source. This parameter can be one of the following values:
|
None |
Definition at line 1698 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig(), and LPTIM_Disable().
#define __HAL_RCC_LPTIM2_CONFIG | ( | __LPTIM2_CLKSOURCE__ | ) | MODIFY_REG(RCC->CCIPR, RCC_CCIPR_LPTIM2SEL, (__LPTIM2_CLKSOURCE__)) |
Macro to configure the LPTIM2 clock (LPTIM2CLK).
__LPTIM2_CLKSOURCE__ | specifies the LPTIM2 clock source. This parameter can be one of the following values:
|
None |
Definition at line 1720 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig(), and LPTIM_Disable().
#define __HAL_RCC_LPUART1_CONFIG | ( | __LPUART1_CLKSOURCE__ | ) | MODIFY_REG(RCC->CCIPR, RCC_CCIPR_LPUART1SEL, (__LPUART1_CLKSOURCE__)) |
Macro to configure the LPUART1 clock (LPUART1CLK).
__LPUART1_CLKSOURCE__ | specifies the LPUART1 clock source. This parameter can be one of the following values:
|
None |
Definition at line 1676 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define __HAL_RCC_PLLSAI1_CONFIG | ( | __PLLSAI1N__, | |
__PLLSAI1P__, | |||
__PLLSAI1Q__, | |||
__PLLSAI1R__ | |||
) |
MODIFY_REG(RCC->PLLSAI1CFGR, \ (RCC_PLLSAI1CFGR_PLLSAI1N | RCC_PLLSAI1CFGR_PLLSAI1P | \ RCC_PLLSAI1CFGR_PLLSAI1Q | RCC_PLLSAI1CFGR_PLLSAI1R | RCC_PLLSAI1CFGR_PLLSAI1PDIV), \ (((__PLLSAI1N__) << RCC_PLLSAI1CFGR_PLLSAI1N_Pos) | \ ((((__PLLSAI1Q__) >> 1U) - 1U) << RCC_PLLSAI1CFGR_PLLSAI1Q_Pos) | \ ((((__PLLSAI1R__) >> 1U) - 1U) << RCC_PLLSAI1CFGR_PLLSAI1R_Pos) | \ ((uint32_t)(__PLLSAI1P__) << RCC_PLLSAI1CFGR_PLLSAI1PDIV_Pos)))
Macro to configure the PLLSAI1 clock multiplication and division factors.
__PLLSAI1N__ | specifies the multiplication factor for PLLSAI1 VCO output clock. This parameter must be a number between 8 and 86 or 127 depending on devices. |
__PLLSAI1P__ | specifies the division factor for SAI clock. This parameter must be a number in the range (7 or 17) for STM32L47xxx/L48xxx else (2 to 31). SAI1 clock frequency = f(PLLSAI1) / PLLSAI1P |
__PLLSAI1Q__ | specifies the division factor for USB/RNG/SDMMC1 clock. This parameter must be in the range (2, 4, 6 or 8). USB/RNG/SDMMC1 clock frequency = f(PLLSAI1) / PLLSAI1Q |
__PLLSAI1R__ | specifies the division factor for SAR ADC clock. This parameter must be in the range (2, 4, 6 or 8). ADC clock frequency = f(PLLSAI1) / PLLSAI1R |
None |
Definition at line 943 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_EnablePLLSAI1().
#define __HAL_RCC_PLLSAI1_DISABLE | ( | ) | CLEAR_BIT(RCC->CR, RCC_CR_PLLSAI1ON) |
Definition at line 1067 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_DisablePLLSAI1(), HAL_RCCEx_EnablePLLSAI1(), and RCCEx_PLLSAI1_Config().
#define __HAL_RCC_PLLSAI1_DIVP_CONFIG | ( | __PLLSAI1P__ | ) | MODIFY_REG(RCC->PLLSAI1CFGR, RCC_PLLSAI1CFGR_PLLSAI1PDIV, (__PLLSAI1P__) << RCC_PLLSAI1CFGR_PLLSAI1PDIV_Pos) |
Macro to configure the PLLSAI1 clock division factor P.
__PLLSAI1P__ | specifies the division factor for SAI clock. This parameter must be a number in the range (7 or 17) for STM32L47xxx/L48xxx else (2 to 31). Use to set SAI1 clock frequency = f(PLLSAI1) / PLLSAI1P |
None |
Definition at line 1019 of file stm32l4xx_hal_rcc_ex.h.
#define __HAL_RCC_PLLSAI1_DIVQ_CONFIG | ( | __PLLSAI1Q__ | ) | MODIFY_REG(RCC->PLLSAI1CFGR, RCC_PLLSAI1CFGR_PLLSAI1Q, (((__PLLSAI1Q__) >> 1U) - 1U) << RCC_PLLSAI1CFGR_PLLSAI1Q_Pos) |
Macro to configure the PLLSAI1 clock division factor Q.
__PLLSAI1Q__ | specifies the division factor for USB/RNG/SDMMC1 clock. This parameter must be in the range (2, 4, 6 or 8). Use to set USB/RNG/SDMMC1 clock frequency = f(PLLSAI1) / PLLSAI1Q |
None |
Definition at line 1041 of file stm32l4xx_hal_rcc_ex.h.
#define __HAL_RCC_PLLSAI1_DIVR_CONFIG | ( | __PLLSAI1R__ | ) | MODIFY_REG(RCC->PLLSAI1CFGR, RCC_PLLSAI1CFGR_PLLSAI1R, (((__PLLSAI1R__) >> 1U) - 1U) << RCC_PLLSAI1CFGR_PLLSAI1R_Pos) |
Macro to configure the PLLSAI1 clock division factor R.
__PLLSAI1R__ | specifies the division factor for ADC clock. This parameter must be in the range (2, 4, 6 or 8) Use to set ADC clock frequency = f(PLLSAI1) / PLLSAI1R |
None |
Definition at line 1056 of file stm32l4xx_hal_rcc_ex.h.
#define __HAL_RCC_PLLSAI1_ENABLE | ( | ) | SET_BIT(RCC->CR, RCC_CR_PLLSAI1ON) |
Macros to enable or disable the PLLSAI1.
None |
Definition at line 1065 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_EnablePLLSAI1(), and RCCEx_PLLSAI1_Config().
#define __HAL_RCC_PLLSAI1_MULN_CONFIG | ( | __PLLSAI1N__ | ) | MODIFY_REG(RCC->PLLSAI1CFGR, RCC_PLLSAI1CFGR_PLLSAI1N, (__PLLSAI1N__) << RCC_PLLSAI1CFGR_PLLSAI1N_Pos) |
Macro to configure the PLLSAI1 clock multiplication factor N.
__PLLSAI1N__ | specifies the multiplication factor for PLLSAI1 VCO output clock. This parameter must be a number between 8 and 86 or 127 depending on devices. |
None |
Definition at line 982 of file stm32l4xx_hal_rcc_ex.h.
#define __HAL_RCC_PLLSAI1CLKOUT_DISABLE | ( | __PLLSAI1_CLOCKOUT__ | ) | CLEAR_BIT(RCC->PLLSAI1CFGR, (__PLLSAI1_CLOCKOUT__)) |
Definition at line 1085 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_DisablePLLSAI1().
#define __HAL_RCC_PLLSAI1CLKOUT_ENABLE | ( | __PLLSAI1_CLOCKOUT__ | ) | SET_BIT(RCC->PLLSAI1CFGR, (__PLLSAI1_CLOCKOUT__)) |
Macros to enable or disable each clock output (PLLSAI1_SAI1, PLLSAI1_USB2 and PLLSAI1_ADC1).
__PLLSAI1_CLOCKOUT__ | specifies the PLLSAI1 clock to be output. This parameter can be one or a combination of the following values:
|
None |
Definition at line 1083 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_EnablePLLSAI1(), and RCCEx_PLLSAI1_Config().
#define __HAL_RCC_RNG_CONFIG | ( | __RNG_CLKSOURCE__ | ) | MODIFY_REG(RCC->CCIPR, RCC_CCIPR_CLK48SEL, (__RNG_CLKSOURCE__)) |
Macro to configure the RNG clock.
__RNG_CLKSOURCE__ | specifies the RNG clock source. This parameter can be one of the following values:
|
None |
Definition at line 1831 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define __HAL_RCC_SAI1_CONFIG | ( | __SAI1_CLKSOURCE__ | ) | MODIFY_REG(RCC->CCIPR, RCC_CCIPR_SAI1SEL, (__SAI1_CLKSOURCE__)) |
Macro to configure the SAI1 clock source.
__SAI1_CLKSOURCE__ | defines the SAI1 clock source. This clock is derived from the PLLSAI1, system PLL or external clock (through a dedicated pin). This parameter can be one of the following values:
|
None |
Definition at line 1390 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define __HAL_RCC_SDMMC1_CONFIG | ( | __SDMMC1_CLKSOURCE__ | ) | MODIFY_REG(RCC->CCIPR, RCC_CCIPR_CLK48SEL, (__SDMMC1_CLKSOURCE__)) |
Macro to configure the SDMMC1 clock.
__SDMMC1_CLKSOURCE__ | specifies the SDMMC1 clock source. This parameter can be one of the following values:
|
None |
Definition at line 1780 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define __HAL_RCC_SWPMI1_CONFIG | ( | __SWPMI1_CLKSOURCE__ | ) | MODIFY_REG(RCC->CCIPR, RCC_CCIPR_SWPMI1SEL, (__SWPMI1_CLKSOURCE__)) |
Macro to configure the SWPMI1 clock.
__SWPMI1_CLKSOURCE__ | specifies the SWPMI1 clock source. This parameter can be one of the following values:
|
None |
Definition at line 1932 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define __HAL_RCC_USART1_CONFIG | ( | __USART1_CLKSOURCE__ | ) | MODIFY_REG(RCC->CCIPR, RCC_CCIPR_USART1SEL, (__USART1_CLKSOURCE__)) |
Macro to configure the USART1 clock (USART1CLK).
__USART1_CLKSOURCE__ | specifies the USART1 clock source. This parameter can be one of the following values:
|
None |
Definition at line 1554 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define __HAL_RCC_USART2_CONFIG | ( | __USART2_CLKSOURCE__ | ) | MODIFY_REG(RCC->CCIPR, RCC_CCIPR_USART2SEL, (__USART2_CLKSOURCE__)) |
Macro to configure the USART2 clock (USART2CLK).
__USART2_CLKSOURCE__ | specifies the USART2 clock source. This parameter can be one of the following values:
|
None |
Definition at line 1576 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define __HAL_RCC_USART3_CONFIG | ( | __USART3_CLKSOURCE__ | ) | MODIFY_REG(RCC->CCIPR, RCC_CCIPR_USART3SEL, (__USART3_CLKSOURCE__)) |
Macro to configure the USART3 clock (USART3CLK).
__USART3_CLKSOURCE__ | specifies the USART3 clock source. This parameter can be one of the following values:
|
None |
Definition at line 1600 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define __HAL_RCC_USB_CONFIG | ( | __USB_CLKSOURCE__ | ) | MODIFY_REG(RCC->CCIPR, RCC_CCIPR_CLK48SEL, (__USB_CLKSOURCE__)) |
Macro to configure the USB clock (USBCLK).
__USB_CLKSOURCE__ | specifies the USB clock source. This parameter can be one of the following values:
|
None |
Definition at line 1867 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().