STM32L486xx HAL User Manual
|
Modules | |
Flags Interrupts Management | |
macros to manage the specified RCC Flags and interrupts. | |
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_PLLSAI1P, ((__PLLSAI1P__) >> 4U) << RCC_PLLSAI1CFGR_PLLSAI1P_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_PLLSAI2_CONFIG(__PLLSAI2N__, __PLLSAI2P__, __PLLSAI2R__) |
Macro to configure the PLLSAI2 clock multiplication and division factors. | |
#define | __HAL_RCC_PLLSAI2_MULN_CONFIG(__PLLSAI2N__) MODIFY_REG(RCC->PLLSAI2CFGR, RCC_PLLSAI2CFGR_PLLSAI2N, (__PLLSAI2N__) << RCC_PLLSAI2CFGR_PLLSAI2N_Pos) |
Macro to configure the PLLSAI2 clock multiplication factor N. | |
#define | __HAL_RCC_PLLSAI2_DIVP_CONFIG(__PLLSAI2P__) MODIFY_REG(RCC->PLLSAI2CFGR, RCC_PLLSAI2CFGR_PLLSAI2P, ((__PLLSAI2P__) >> 4U) << RCC_PLLSAI2CFGR_PLLSAI2P_Pos) |
Macro to configure the PLLSAI2 clock division factor P. | |
#define | __HAL_RCC_PLLSAI2_DIVR_CONFIG(__PLLSAI2R__) MODIFY_REG(RCC->PLLSAI2CFGR, RCC_PLLSAI2CFGR_PLLSAI2R, (((__PLLSAI2R__) >> 1U) - 1U) << RCC_PLLSAI2CFGR_PLLSAI2R_Pos) |
Macro to configure the PLLSAI2 clock division factor R. | |
#define | __HAL_RCC_PLLSAI2_ENABLE() SET_BIT(RCC->CR, RCC_CR_PLLSAI2ON) |
Macros to enable or disable the PLLSAI2. | |
#define | __HAL_RCC_PLLSAI2_DISABLE() CLEAR_BIT(RCC->CR, RCC_CR_PLLSAI2ON) |
#define | __HAL_RCC_PLLSAI2CLKOUT_ENABLE(__PLLSAI2_CLOCKOUT__) SET_BIT(RCC->PLLSAI2CFGR, (__PLLSAI2_CLOCKOUT__)) |
Macros to enable or disable each clock output (PLLSAI2_SAI2, PLLSAI2_ADC2 and RCC_PLLSAI2_DSICLK). | |
#define | __HAL_RCC_PLLSAI2CLKOUT_DISABLE(__PLLSAI2_CLOCKOUT__) CLEAR_BIT(RCC->PLLSAI2CFGR, (__PLLSAI2_CLOCKOUT__)) |
#define | __HAL_RCC_GET_PLLSAI2CLKOUT_CONFIG(__PLLSAI2_CLOCKOUT__) READ_BIT(RCC->PLLSAI2CFGR, (__PLLSAI2_CLOCKOUT__)) |
Macro to get clock output enable status (PLLSAI2_SAI2, PLLSAI2_ADC2 and RCC_PLLSAI2_DSICLK). | |
#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_SAI2_CONFIG(__SAI2_CLKSOURCE__) MODIFY_REG(RCC->CCIPR, RCC_CCIPR_SAI2SEL, (__SAI2_CLKSOURCE__)) |
Macro to configure the SAI2 clock source. | |
#define | __HAL_RCC_GET_SAI2_SOURCE() (READ_BIT(RCC->CCIPR, RCC_CCIPR_SAI2SEL)) |
Macro to get the SAI2 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_UART4_CONFIG(__UART4_CLKSOURCE__) MODIFY_REG(RCC->CCIPR, RCC_CCIPR_UART4SEL, (__UART4_CLKSOURCE__)) |
Macro to configure the UART4 clock (UART4CLK). | |
#define | __HAL_RCC_GET_UART4_SOURCE() (READ_BIT(RCC->CCIPR, RCC_CCIPR_UART4SEL)) |
Macro to get the UART4 clock source. | |
#define | __HAL_RCC_UART5_CONFIG(__UART5_CLKSOURCE__) MODIFY_REG(RCC->CCIPR, RCC_CCIPR_UART5SEL, (__UART5_CLKSOURCE__)) |
Macro to configure the UART5 clock (UART5CLK). | |
#define | __HAL_RCC_GET_UART5_SOURCE() (READ_BIT(RCC->CCIPR, RCC_CCIPR_UART5SEL)) |
Macro to get the UART5 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_DFSDM1_CONFIG(__DFSDM1_CLKSOURCE__) MODIFY_REG(RCC->CCIPR, RCC_CCIPR_DFSDM1SEL, (__DFSDM1_CLKSOURCE__)) |
Macro to configure the DFSDM1 clock. | |
#define | __HAL_RCC_GET_DFSDM1_SOURCE() (READ_BIT(RCC->CCIPR, RCC_CCIPR_DFSDM1SEL)) |
Macro to get the DFSDM1 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 1851 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define __HAL_RCC_DFSDM1_CONFIG | ( | __DFSDM1_CLKSOURCE__ | ) | MODIFY_REG(RCC->CCIPR, RCC_CCIPR_DFSDM1SEL, (__DFSDM1_CLKSOURCE__)) |
Macro to configure the DFSDM1 clock.
__DFSDM1_CLKSOURCE__ | specifies the DFSDM1 clock source. This parameter can be one of the following values:
|
None |
Definition at line 1898 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 1863 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKConfig(), and HAL_RCCEx_GetPeriphCLKFreq().
#define __HAL_RCC_GET_DFSDM1_SOURCE | ( | ) | (READ_BIT(RCC->CCIPR, RCC_CCIPR_DFSDM1SEL)) |
Macro to get the DFSDM1 clock source.
The | clock source can be one of the following values:
|
Definition at line 1910 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 1427 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 1449 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 1471 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 1662 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKConfig(), and HAL_RCCEx_GetPeriphCLKFreq().
#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 1684 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKConfig(), and HAL_RCCEx_GetPeriphCLKFreq().
#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 1640 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 1076 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKFreq().
#define __HAL_RCC_GET_PLLSAI2CLKOUT_CONFIG | ( | __PLLSAI2_CLOCKOUT__ | ) | READ_BIT(RCC->PLLSAI2CFGR, (__PLLSAI2_CLOCKOUT__)) |
Macro to get clock output enable status (PLLSAI2_SAI2, PLLSAI2_ADC2 and RCC_PLLSAI2_DSICLK).
__PLLSAI2_CLOCKOUT__ | specifies the PLLSAI2 clock to be output. This parameter can be one of the following values:
|
SET | / RESET |
Definition at line 1317 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKFreq().
#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 1800 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 1366 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKConfig(), and HAL_RCCEx_GetPeriphCLKFreq().
#define __HAL_RCC_GET_SAI2_SOURCE | ( | ) | (READ_BIT(RCC->CCIPR, RCC_CCIPR_SAI2SEL)) |
Macro to get the SAI2 clock source.
The | clock source can be one of the following values:
|
Definition at line 1404 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKConfig(), and HAL_RCCEx_GetPeriphCLKFreq().
#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 1762 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 1882 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKConfig(), and HAL_RCCEx_GetPeriphCLKFreq().
#define __HAL_RCC_GET_UART4_SOURCE | ( | ) | (READ_BIT(RCC->CCIPR, RCC_CCIPR_UART4SEL)) |
Macro to get the UART4 clock source.
The | clock source can be one of the following values:
|
Definition at line 1590 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_GetPeriphCLKConfig(), and HAL_RCCEx_GetPeriphCLKFreq().
#define __HAL_RCC_GET_UART5_SOURCE | ( | ) | (READ_BIT(RCC->CCIPR, RCC_CCIPR_UART5SEL)) |
Macro to get the UART5 clock source.
The | clock source can be one of the following values:
|
Definition at line 1616 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 1518 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 1540 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 1564 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 1836 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 1418 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 1440 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 1462 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 1652 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#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 1674 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#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 1630 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define __HAL_RCC_PLLSAI1_CONFIG | ( | __PLLSAI1N__, | |
__PLLSAI1P__, | |||
__PLLSAI1Q__, | |||
__PLLSAI1R__ | |||
) |
WRITE_REG(RCC->PLLSAI1CFGR, ((__PLLSAI1N__) << RCC_PLLSAI1CFGR_PLLSAI1N_Pos) | \ (((__PLLSAI1P__) >> 4U) << RCC_PLLSAI1CFGR_PLLSAI1P_Pos) | \ ((((__PLLSAI1Q__) >> 1U) - 1U) << RCC_PLLSAI1CFGR_PLLSAI1Q_Pos) | \ ((((__PLLSAI1R__) >> 1U) - 1U) << RCC_PLLSAI1CFGR_PLLSAI1R_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. |
__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 935 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 1045 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_PLLSAI1P, ((__PLLSAI1P__) >> 4U) << RCC_PLLSAI1CFGR_PLLSAI1P_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 1002 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 1019 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 1034 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 1043 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. |
None |
Definition at line 960 of file stm32l4xx_hal_rcc_ex.h.
#define __HAL_RCC_PLLSAI1CLKOUT_DISABLE | ( | __PLLSAI1_CLOCKOUT__ | ) | CLEAR_BIT(RCC->PLLSAI1CFGR, (__PLLSAI1_CLOCKOUT__)) |
Definition at line 1063 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 1061 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_EnablePLLSAI1(), and RCCEx_PLLSAI1_Config().
#define __HAL_RCC_PLLSAI2_CONFIG | ( | __PLLSAI2N__, | |
__PLLSAI2P__, | |||
__PLLSAI2R__ | |||
) |
WRITE_REG(RCC->PLLSAI2CFGR, ((__PLLSAI2N__) << RCC_PLLSAI2CFGR_PLLSAI2N_Pos) | \ (((__PLLSAI2P__) >> 4U) << RCC_PLLSAI2CFGR_PLLSAI2P_Pos) | \ ((((__PLLSAI2R__) >> 1U) - 1U) << RCC_PLLSAI2CFGR_PLLSAI2R_Pos))
Macro to configure the PLLSAI2 clock multiplication and division factors.
__PLLSAI2N__ | specifies the multiplication factor for PLLSAI2 VCO output clock. This parameter must be a number between 8 and 86. |
__PLLSAI2P__ | 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). SAI2 clock frequency = f(PLLSAI2) / PLLSAI2P |
__PLLSAI2R__ | specifies the division factor for SAR ADC clock. This parameter must be in the range (2, 4, 6 or 8). |
None |
Definition at line 1162 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_EnablePLLSAI2().
#define __HAL_RCC_PLLSAI2_DISABLE | ( | ) | CLEAR_BIT(RCC->CR, RCC_CR_PLLSAI2ON) |
Definition at line 1266 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_DisablePLLSAI2(), HAL_RCCEx_EnablePLLSAI2(), HAL_RCCEx_PeriphCLKConfig(), and RCCEx_PLLSAI2_Config().
#define __HAL_RCC_PLLSAI2_DIVP_CONFIG | ( | __PLLSAI2P__ | ) | MODIFY_REG(RCC->PLLSAI2CFGR, RCC_PLLSAI2CFGR_PLLSAI2P, ((__PLLSAI2P__) >> 4U) << RCC_PLLSAI2CFGR_PLLSAI2P_Pos) |
Macro to configure the PLLSAI2 clock division factor P.
__PLLSAI2P__ | specifies the division factor. This parameter must be a number in the range (7 or 17). Use to set SAI2 clock frequency = f(PLLSAI2) / __PLLSAI2P__ |
None |
Definition at line 1221 of file stm32l4xx_hal_rcc_ex.h.
#define __HAL_RCC_PLLSAI2_DIVR_CONFIG | ( | __PLLSAI2R__ | ) | MODIFY_REG(RCC->PLLSAI2CFGR, RCC_PLLSAI2CFGR_PLLSAI2R, (((__PLLSAI2R__) >> 1U) - 1U) << RCC_PLLSAI2CFGR_PLLSAI2R_Pos) |
Macro to configure the PLLSAI2 clock division factor R.
__PLLSAI2R__ | specifies the division factor. This parameter must be in the range (2, 4, 6 or 8). Use to set ADC clock frequency = f(PLLSAI2) / __PLLSAI2R__ |
None |
Definition at line 1255 of file stm32l4xx_hal_rcc_ex.h.
#define __HAL_RCC_PLLSAI2_ENABLE | ( | ) | SET_BIT(RCC->CR, RCC_CR_PLLSAI2ON) |
Macros to enable or disable the PLLSAI2.
None |
Definition at line 1264 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_EnablePLLSAI2(), and RCCEx_PLLSAI2_Config().
#define __HAL_RCC_PLLSAI2_MULN_CONFIG | ( | __PLLSAI2N__ | ) | MODIFY_REG(RCC->PLLSAI2CFGR, RCC_PLLSAI2CFGR_PLLSAI2N, (__PLLSAI2N__) << RCC_PLLSAI2CFGR_PLLSAI2N_Pos) |
Macro to configure the PLLSAI2 clock multiplication factor N.
__PLLSAI2N__ | specifies the multiplication factor for PLLSAI2 VCO output clock. This parameter must be a number between 8 and 86. |
None |
Definition at line 1187 of file stm32l4xx_hal_rcc_ex.h.
#define __HAL_RCC_PLLSAI2CLKOUT_DISABLE | ( | __PLLSAI2_CLOCKOUT__ | ) | CLEAR_BIT(RCC->PLLSAI2CFGR, (__PLLSAI2_CLOCKOUT__)) |
Definition at line 1294 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_DisablePLLSAI2().
#define __HAL_RCC_PLLSAI2CLKOUT_ENABLE | ( | __PLLSAI2_CLOCKOUT__ | ) | SET_BIT(RCC->PLLSAI2CFGR, (__PLLSAI2_CLOCKOUT__)) |
Macros to enable or disable each clock output (PLLSAI2_SAI2, PLLSAI2_ADC2 and RCC_PLLSAI2_DSICLK).
__PLLSAI2_CLOCKOUT__ | specifies the PLLSAI2 clock to be output. This parameter can be one or a combination of the following values:
|
None |
Definition at line 1292 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_EnablePLLSAI2(), and RCCEx_PLLSAI2_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 1785 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 1346 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define __HAL_RCC_SAI2_CONFIG | ( | __SAI2_CLKSOURCE__ | ) | MODIFY_REG(RCC->CCIPR, RCC_CCIPR_SAI2SEL, (__SAI2_CLKSOURCE__)) |
Macro to configure the SAI2 clock source.
__SAI2_CLKSOURCE__ | defines the SAI2 clock source. This clock is derived from the PLLSAI2, 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 1734 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 1874 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define __HAL_RCC_UART4_CONFIG | ( | __UART4_CLKSOURCE__ | ) | MODIFY_REG(RCC->CCIPR, RCC_CCIPR_UART4SEL, (__UART4_CLKSOURCE__)) |
Macro to configure the UART4 clock (UART4CLK).
__UART4_CLKSOURCE__ | specifies the UART4 clock source. This parameter can be one of the following values:
|
None |
Definition at line 1580 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().
#define __HAL_RCC_UART5_CONFIG | ( | __UART5_CLKSOURCE__ | ) | MODIFY_REG(RCC->CCIPR, RCC_CCIPR_UART5SEL, (__UART5_CLKSOURCE__)) |
Macro to configure the UART5 clock (UART5CLK).
__UART5_CLKSOURCE__ | specifies the UART5 clock source. This parameter can be one of the following values:
|
None |
Definition at line 1606 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 1508 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 1530 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 1554 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 1821 of file stm32l4xx_hal_rcc_ex.h.
Referenced by HAL_RCCEx_PeriphCLKConfig().