![]() |
RTEMS 6.3
|
Topics | |
| RCCEx CRS Extended Features | |
Macros | |
| #define | __HAL_RCC_PLL2_ENABLE() |
| Macros to enable or disable PLL2. | |
| #define | __HAL_RCC_PLL2_DISABLE() |
| #define | __HAL_RCC_PLL2CLKOUT_ENABLE(__RCC_PLL2ClockOut__) |
| Enables or disables each clock output (PLL2_P_CLK, PLL2_Q_CLK, PLL2_R_CLK). | |
| #define | __HAL_RCC_PLL2CLKOUT_DISABLE(__RCC_PLL2ClockOut__) |
| #define | __HAL_RCC_PLL2FRACN_ENABLE() |
| Enables or disables Fractional Part Of The Multiplication Factor of PLL2 VCO. | |
| #define | __HAL_RCC_PLL2FRACN_DISABLE() |
| #define | __HAL_RCC_PLL2_CONFIG(__PLL2M__, __PLL2N__, __PLL2P__, __PLL2Q__, __PLL2R__) |
| Macro to configures the PLL2 multiplication and division factors. | |
| #define | __HAL_RCC_PLL2FRACN_CONFIG(__RCC_PLL2FRACN__) |
| Macro to configures PLL2 clock Fractional Part Of The Multiplication Factor. | |
| #define | __HAL_RCC_PLL2_VCIRANGE(__RCC_PLL2VCIRange__) |
| Macro to select the PLL2 reference frequency range. | |
| #define | __HAL_RCC_PLL2_VCORANGE(__RCC_PLL2VCORange__) |
| Macro to select the PLL2 reference frequency range. | |
| #define | __HAL_RCC_PLL3_ENABLE() |
| Macros to enable or disable the main PLL3. | |
| #define | __HAL_RCC_PLL3_DISABLE() |
| #define | __HAL_RCC_PLL3FRACN_ENABLE() |
| Enables or disables Fractional Part Of The Multiplication Factor of PLL3 VCO. | |
| #define | __HAL_RCC_PLL3FRACN_DISABLE() |
| #define | __HAL_RCC_PLL3CLKOUT_ENABLE(__RCC_PLL3ClockOut__) |
| Enables or disables each clock output (PLL3_P_CLK, PLL3_Q_CLK, PLL3_R_CLK). | |
| #define | __HAL_RCC_PLL3CLKOUT_DISABLE(__RCC_PLL3ClockOut__) |
| #define | __HAL_RCC_PLL3_CONFIG(__PLL3M__, __PLL3N__, __PLL3P__, __PLL3Q__, __PLL3R__) |
| Macro to configures the PLL3 multiplication and division factors. | |
| #define | __HAL_RCC_PLL3FRACN_CONFIG(__RCC_PLL3FRACN__) |
| Macro to configures PLL3 clock Fractional Part of The Multiplication Factor. | |
| #define | __HAL_RCC_PLL3_VCIRANGE(__RCC_PLL3VCIRange__) |
| Macro to select the PLL3 reference frequency range. | |
| #define | __HAL_RCC_PLL3_VCORANGE(__RCC_PLL3VCORange__) |
| Macro to select the PLL3 reference frequency range. | |
| #define | __HAL_RCC_SAI1_CONFIG(__RCC_SAI1CLKSource__) |
| Macro to Configure the SAI1 clock source. | |
| #define | __HAL_RCC_GET_SAI1_SOURCE() |
| Macro to get the SAI1 clock source. | |
| #define | __HAL_RCC_SPDIFRX_CONFIG(__RCC_SPDIFCLKSource__) |
| Macro to Configure the SPDIFRX clock source. | |
| #define | __HAL_RCC_GET_SPDIFRX_SOURCE() |
| Macro to get the SPDIFRX clock source. | |
| #define | __HAL_RCC_I2C1235_CONFIG(__I2C1235CLKSource__) |
| macro to configure the I2C1/2/3/5* clock (I2C123CLK). | |
| #define | __HAL_RCC_I2C123_CONFIG __HAL_RCC_I2C1235_CONFIG |
| #define | __HAL_RCC_GET_I2C1235_SOURCE() |
| macro to get the I2C1/2/3/5* clock source. | |
| #define | __HAL_RCC_GET_I2C123_SOURCE __HAL_RCC_GET_I2C1235_SOURCE |
| #define | __HAL_RCC_I2C1_CONFIG __HAL_RCC_I2C123_CONFIG |
| macro to configure the I2C1 clock (I2C1CLK). | |
| #define | __HAL_RCC_GET_I2C1_SOURCE __HAL_RCC_GET_I2C123_SOURCE |
| macro to get the I2C1 clock source. | |
| #define | __HAL_RCC_I2C2_CONFIG __HAL_RCC_I2C123_CONFIG |
| macro to configure the I2C2 clock (I2C2CLK). | |
| #define | __HAL_RCC_GET_I2C2_SOURCE __HAL_RCC_GET_I2C123_SOURCE |
| macro to get the I2C2 clock source. | |
| #define | __HAL_RCC_I2C3_CONFIG __HAL_RCC_I2C123_CONFIG |
| macro to configure the I2C3 clock (I2C3CLK). | |
| #define | __HAL_RCC_GET_I2C3_SOURCE __HAL_RCC_GET_I2C123_SOURCE |
| macro to get the I2C3 clock source. | |
| #define | __HAL_RCC_I2C4_CONFIG(__I2C4CLKSource__) |
| macro to configure the I2C4 clock (I2C4CLK). | |
| #define | __HAL_RCC_GET_I2C4_SOURCE() |
| macro to get the I2C4 clock source. | |
| #define | __HAL_RCC_USART16910_CONFIG(__USART16910CLKSource__) |
| macro to configure the USART1/6/9* /10* clock (USART16CLK). | |
| #define | __HAL_RCC_USART16_CONFIG __HAL_RCC_USART16910_CONFIG |
| #define | __HAL_RCC_GET_USART16910_SOURCE() |
| macro to get the USART1/6/9* /10* clock source. | |
| #define | __HAL_RCC_GET_USART16_SOURCE __HAL_RCC_GET_USART16910_SOURCE |
| #define | __HAL_RCC_USART234578_CONFIG(__USART234578CLKSource__) |
| macro to configure the USART234578 clock (USART234578CLK). | |
| #define | __HAL_RCC_GET_USART234578_SOURCE() |
| macro to get the USART2/3/4/5/7/8 clock source. | |
| #define | __HAL_RCC_USART1_CONFIG __HAL_RCC_USART16_CONFIG |
| macro to configure the USART1 clock (USART1CLK). | |
| #define | __HAL_RCC_GET_USART1_SOURCE __HAL_RCC_GET_USART16_SOURCE |
| macro to get the USART1 clock source. | |
| #define | __HAL_RCC_USART2_CONFIG __HAL_RCC_USART234578_CONFIG |
| macro to configure the USART2 clock (USART2CLK). | |
| #define | __HAL_RCC_GET_USART2_SOURCE __HAL_RCC_GET_USART234578_SOURCE |
| macro to get the USART2 clock source. | |
| #define | __HAL_RCC_USART3_CONFIG __HAL_RCC_USART234578_CONFIG |
| macro to configure the USART3 clock (USART3CLK). | |
| #define | __HAL_RCC_GET_USART3_SOURCE __HAL_RCC_GET_USART234578_SOURCE |
| macro to get the USART3 clock source. | |
| #define | __HAL_RCC_UART4_CONFIG __HAL_RCC_USART234578_CONFIG |
| macro to configure the UART4 clock (UART4CLK). | |
| #define | __HAL_RCC_GET_UART4_SOURCE __HAL_RCC_GET_USART234578_SOURCE |
| macro to get the UART4 clock source. | |
| #define | __HAL_RCC_UART5_CONFIG __HAL_RCC_USART234578_CONFIG |
| macro to configure the UART5 clock (UART5CLK). | |
| #define | __HAL_RCC_GET_UART5_SOURCE __HAL_RCC_GET_USART234578_SOURCE |
| macro to get the UART5 clock source. | |
| #define | __HAL_RCC_USART6_CONFIG __HAL_RCC_USART16_CONFIG |
| macro to configure the USART6 clock (USART6CLK). | |
| #define | __HAL_RCC_GET_USART6_SOURCE __HAL_RCC_GET_USART16_SOURCE |
| macro to get the USART6 clock source. | |
| #define | __HAL_RCC_UART7_CONFIG __HAL_RCC_USART234578_CONFIG |
| macro to configure the UART5 clock (UART7CLK). | |
| #define | __HAL_RCC_GET_UART7_SOURCE __HAL_RCC_GET_USART234578_SOURCE |
| macro to get the UART7 clock source. | |
| #define | __HAL_RCC_UART8_CONFIG __HAL_RCC_USART234578_CONFIG |
| macro to configure the UART8 clock (UART8CLK). | |
| #define | __HAL_RCC_GET_UART8_SOURCE __HAL_RCC_GET_USART234578_SOURCE |
| macro to get the UART8 clock source. | |
| #define | __HAL_RCC_LPUART1_CONFIG(__LPUART1CLKSource__) |
| macro to configure the LPUART1 clock (LPUART1CLK). | |
| #define | __HAL_RCC_GET_LPUART1_SOURCE() |
| macro to get the LPUART1 clock source. | |
| #define | __HAL_RCC_LPTIM1_CONFIG(__LPTIM1CLKSource__) |
| macro to configure the LPTIM1 clock source. | |
| #define | __HAL_RCC_GET_LPTIM1_SOURCE() |
| macro to get the LPTIM1 clock source. | |
| #define | __HAL_RCC_LPTIM2_CONFIG(__LPTIM2CLKSource__) |
| macro to configure the LPTIM2 clock source. | |
| #define | __HAL_RCC_GET_LPTIM2_SOURCE() |
| macro to get the LPTIM2 clock source. | |
| #define | __HAL_RCC_LPTIM345_CONFIG(__LPTIM345CLKSource__) |
| macro to configure the LPTIM3/4/5 clock source. | |
| #define | __HAL_RCC_GET_LPTIM345_SOURCE() |
| macro to get the LPTIM3/4/5 clock source. | |
| #define | __HAL_RCC_LPTIM3_CONFIG __HAL_RCC_LPTIM345_CONFIG |
| macro to configure the LPTIM3 clock source. | |
| #define | __HAL_RCC_GET_LPTIM3_SOURCE __HAL_RCC_GET_LPTIM345_SOURCE |
| macro to get the LPTIM3 clock source. | |
| #define | __HAL_RCC_FMC_CONFIG(__FMCCLKSource__) |
| macro to configure the FMC clock source. | |
| #define | __HAL_RCC_GET_FMC_SOURCE() |
| macro to get the FMC clock source. | |
| #define | __HAL_RCC_USB_CONFIG(__USBCLKSource__) |
| Macro to configure the USB clock (USBCLK). | |
| #define | __HAL_RCC_GET_USB_SOURCE() |
| Macro to get the USB clock source. | |
| #define | __HAL_RCC_ADC_CONFIG(__ADCCLKSource__) |
| Macro to configure the ADC clock. | |
| #define | __HAL_RCC_GET_ADC_SOURCE() |
| Macro to get the ADC clock source. | |
| #define | __HAL_RCC_SWPMI1_CONFIG(__SWPMI1CLKSource__) |
| Macro to configure the SWPMI1 clock. | |
| #define | __HAL_RCC_GET_SWPMI1_SOURCE() |
| Macro to get the SWPMI1 clock source. | |
| #define | __HAL_RCC_DFSDM1_CONFIG(__DFSDM1CLKSource__) |
| Macro to configure the DFSDM1 clock. | |
| #define | __HAL_RCC_GET_DFSDM1_SOURCE() |
| Macro to get the DFSDM1 clock source. | |
| #define | __HAL_RCC_CEC_CONFIG(__CECCLKSource__) |
| macro to configure the CEC clock (CECCLK). | |
| #define | __HAL_RCC_GET_CEC_SOURCE() |
| macro to get the CEC clock source. | |
| #define | __HAL_RCC_CLKP_CONFIG(__CLKPSource__) |
| Macro to configure the CLKP : Oscillator clock for peripheral. | |
| #define | __HAL_RCC_GET_CLKP_SOURCE() |
| Macro to get the Oscillator clock for peripheral source. | |
| #define | __HAL_RCC_SPI123_CONFIG(__RCC_SPI123CLKSource__) |
| Macro to Configure the SPI1/2/3 clock source. | |
| #define | __HAL_RCC_GET_SPI123_SOURCE() |
| Macro to get the SPI1/2/3 clock source. | |
| #define | __HAL_RCC_SPI1_CONFIG __HAL_RCC_SPI123_CONFIG |
| Macro to Configure the SPI1 clock source. | |
| #define | __HAL_RCC_GET_SPI1_SOURCE __HAL_RCC_GET_SPI123_SOURCE |
| Macro to get the SPI1 clock source. | |
| #define | __HAL_RCC_SPI2_CONFIG __HAL_RCC_SPI123_CONFIG |
| Macro to Configure the SPI2 clock source. | |
| #define | __HAL_RCC_GET_SPI2_SOURCE __HAL_RCC_GET_SPI123_SOURCE |
| Macro to get the SPI2 clock source. | |
| #define | __HAL_RCC_SPI3_CONFIG __HAL_RCC_SPI123_CONFIG |
| Macro to Configure the SPI3 clock source. | |
| #define | __HAL_RCC_GET_SPI3_SOURCE __HAL_RCC_GET_SPI123_SOURCE |
| Macro to get the SPI3 clock source. | |
| #define | __HAL_RCC_SPI45_CONFIG(__RCC_SPI45CLKSource__) |
| Macro to Configure the SPI4/5 clock source. | |
| #define | __HAL_RCC_GET_SPI45_SOURCE() |
| Macro to get the SPI4/5 clock source. | |
| #define | __HAL_RCC_SPI4_CONFIG __HAL_RCC_SPI45_CONFIG |
| Macro to Configure the SPI4 clock source. | |
| #define | __HAL_RCC_GET_SPI4_SOURCE __HAL_RCC_GET_SPI45_SOURCE |
| Macro to get the SPI4 clock source. | |
| #define | __HAL_RCC_SPI5_CONFIG __HAL_RCC_SPI45_CONFIG |
| Macro to Configure the SPI5 clock source. | |
| #define | __HAL_RCC_GET_SPI5_SOURCE __HAL_RCC_GET_SPI45_SOURCE |
| Macro to get the SPI5 clock source. | |
| #define | __HAL_RCC_SPI6_CONFIG(__RCC_SPI6CLKSource__) |
| Macro to Configure the SPI6 clock source. | |
| #define | __HAL_RCC_GET_SPI6_SOURCE() |
| Macro to get the SPI6 clock source. | |
| #define | __HAL_RCC_SDMMC_CONFIG(__SDMMCCLKSource__) |
| Macro to configure the SDMMC clock. | |
| #define | __HAL_RCC_GET_SDMMC_SOURCE() |
| Macro to get the SDMMC clock. | |
| #define | __HAL_RCC_RNG_CONFIG(__RNGCLKSource__) |
| macro to configure the RNG clock (RNGCLK). | |
| #define | __HAL_RCC_GET_RNG_SOURCE() |
| macro to get the RNG clock source. | |
| #define | __HAL_RCC_TIMCLKPRESCALER(__PRESC__) |
| Macro to configure the Timers clocks prescalers. | |
| #define | __HAL_RCC_LSECSS_EXTI_ENABLE_IT() |
| Enable the RCC LSE CSS Extended Interrupt Line. | |
| #define | __HAL_RCC_LSECSS_EXTI_DISABLE_IT() |
| Disable the RCC LSE CSS Extended Interrupt Line. | |
| #define | __HAL_RCC_LSECSS_EXTI_ENABLE_EVENT() |
| Enable the RCC LSE CSS Event Line. | |
| #define | __HAL_RCC_LSECSS_EXTI_DISABLE_EVENT() |
| Disable the RCC LSE CSS Event Line. | |
| #define | __HAL_RCC_LSECSS_EXTI_ENABLE_FALLING_EDGE() |
| Enable the RCC LSE CSS Extended Interrupt Falling Trigger. | |
| #define | __HAL_RCC_LSECSS_EXTI_DISABLE_FALLING_EDGE() |
| Disable the RCC LSE CSS Extended Interrupt Falling Trigger. | |
| #define | __HAL_RCC_LSECSS_EXTI_ENABLE_RISING_EDGE() |
| Enable the RCC LSE CSS Extended Interrupt Rising Trigger. | |
| #define | __HAL_RCC_LSECSS_EXTI_DISABLE_RISING_EDGE() |
| Disable the RCC LSE CSS Extended Interrupt Rising Trigger. | |
| #define | __HAL_RCC_LSECSS_EXTI_ENABLE_RISING_FALLING_EDGE() |
| Enable the RCC LSE CSS Extended Interrupt Rising & Falling Trigger. | |
| #define | __HAL_RCC_LSECSS_EXTI_DISABLE_RISING_FALLING_EDGE() |
| Disable the RCC LSE CSS Extended Interrupt Rising & Falling Trigger. | |
| #define | __HAL_RCC_LSECSS_EXTI_GET_FLAG() |
| Check whether the specified RCC LSE CSS EXTI interrupt flag is set or not. | |
| #define | __HAL_RCC_LSECSS_EXTI_CLEAR_FLAG() |
| Clear the RCC LSE CSS EXTI flag. | |
| #define | __HAL_RCC_LSECSS_EXTI_GENERATE_SWIT() |
| Generate a Software interrupt on the RCC LSE CSS EXTI line. | |
| #define | __HAL_RCC_CRS_ENABLE_IT(__INTERRUPT__) |
| Enable the specified CRS interrupts. | |
| #define | __HAL_RCC_CRS_DISABLE_IT(__INTERRUPT__) |
| Disable the specified CRS interrupts. | |
| #define | __HAL_RCC_CRS_GET_IT_SOURCE(__INTERRUPT__) |
| Check whether the CRS interrupt has occurred or not. | |
| #define | RCC_CRS_IT_ERROR_MASK ((uint32_t)(RCC_CRS_IT_TRIMOVF | RCC_CRS_IT_SYNCERR | RCC_CRS_IT_SYNCMISS)) |
| Clear the CRS interrupt pending bits. | |
| #define | __HAL_RCC_CRS_CLEAR_IT(__INTERRUPT__) |
| #define | __HAL_RCC_CRS_GET_FLAG(__FLAG__) |
| Check whether the specified CRS flag is set or not. | |
| #define | RCC_CRS_FLAG_ERROR_MASK ((uint32_t)(RCC_CRS_FLAG_TRIMOVF | RCC_CRS_FLAG_SYNCERR | RCC_CRS_FLAG_SYNCMISS)) |
| Clear the CRS specified FLAG. | |
| #define | __HAL_RCC_CRS_CLEAR_FLAG(__FLAG__) |
| #define __HAL_RCC_ADC_CONFIG | ( | __ADCCLKSource__ | ) |
Macro to configure the ADC clock.
| __ADCCLKSource__ | specifies the ADC digital interface clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_CEC_CONFIG | ( | __CECCLKSource__ | ) |
macro to configure the CEC clock (CECCLK).
| __CECCLKSource__ | specifies the CEC clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_CLKP_CONFIG | ( | __CLKPSource__ | ) |
Macro to configure the CLKP : Oscillator clock for peripheral.
| __CLKPSource__ | specifies Oscillator clock for peripheral This parameter can be one of the following values:
|
| #define __HAL_RCC_CRS_CLEAR_FLAG | ( | __FLAG__ | ) |
| #define __HAL_RCC_CRS_CLEAR_IT | ( | __INTERRUPT__ | ) |
| #define __HAL_RCC_CRS_DISABLE_IT | ( | __INTERRUPT__ | ) |
Disable the specified CRS interrupts.
| __INTERRUPT__ | specifies the CRS interrupt sources to be disabled. This parameter can be any combination of the following values:
|
| None |
| #define __HAL_RCC_CRS_ENABLE_IT | ( | __INTERRUPT__ | ) |
Enable the specified CRS interrupts.
| __INTERRUPT__ | specifies the CRS interrupt sources to be enabled. This parameter can be any combination of the following values:
|
| None |
| #define __HAL_RCC_CRS_GET_FLAG | ( | __FLAG__ | ) |
Check whether the specified CRS flag is set or not.
| __FLAG__ | specifies the flag to check. This parameter can be one of the following values:
|
| The | new state of FLAG (TRUE or FALSE). |
| #define __HAL_RCC_CRS_GET_IT_SOURCE | ( | __INTERRUPT__ | ) |
Check whether the CRS interrupt has occurred or not.
| __INTERRUPT__ | specifies the CRS interrupt source to check. This parameter can be one of the following values:
|
| The | new state of INTERRUPT (SET or RESET). |
| #define __HAL_RCC_DFSDM1_CONFIG | ( | __DFSDM1CLKSource__ | ) |
Macro to configure the DFSDM1 clock.
| __DFSDM1CLKSource__ | specifies the DFSDM1 clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_FMC_CONFIG | ( | __FMCCLKSource__ | ) |
macro to configure the FMC clock source.
| __FMCCLKSource__ | specifies the FMC clock source.
|
| #define __HAL_RCC_GET_ADC_SOURCE | ( | ) |
Macro to get the ADC clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_CEC_SOURCE | ( | ) |
macro to get the CEC clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_CLKP_SOURCE | ( | ) |
Macro to get the Oscillator clock for peripheral source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_DFSDM1_SOURCE | ( | ) |
Macro to get the DFSDM1 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_FMC_SOURCE | ( | ) |
macro to get the FMC clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_I2C1235_SOURCE | ( | ) |
macro to get the I2C1/2/3/5* clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_I2C1_SOURCE __HAL_RCC_GET_I2C123_SOURCE |
macro to get the I2C1 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_I2C2_SOURCE __HAL_RCC_GET_I2C123_SOURCE |
macro to get the I2C2 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_I2C3_SOURCE __HAL_RCC_GET_I2C123_SOURCE |
macro to get the I2C3 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_I2C4_SOURCE | ( | ) |
macro to get the I2C4 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_LPTIM1_SOURCE | ( | ) |
macro to get the LPTIM1 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_LPTIM2_SOURCE | ( | ) |
macro to get the LPTIM2 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_LPTIM345_SOURCE | ( | ) |
macro to get the LPTIM3/4/5 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_LPTIM3_SOURCE __HAL_RCC_GET_LPTIM345_SOURCE |
macro to get the LPTIM3 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_LPUART1_SOURCE | ( | ) |
macro to get the LPUART1 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_RNG_SOURCE | ( | ) |
macro to get the RNG clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_SAI1_SOURCE | ( | ) |
Macro to get the SAI1 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_SDMMC_SOURCE | ( | ) |
Macro to get the SDMMC clock.
| #define __HAL_RCC_GET_SPDIFRX_SOURCE | ( | ) |
Macro to get the SPDIFRX clock source.
| None |
| #define __HAL_RCC_GET_SPI123_SOURCE | ( | ) |
Macro to get the SPI1/2/3 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_SPI1_SOURCE __HAL_RCC_GET_SPI123_SOURCE |
Macro to get the SPI1 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_SPI2_SOURCE __HAL_RCC_GET_SPI123_SOURCE |
Macro to get the SPI2 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_SPI3_SOURCE __HAL_RCC_GET_SPI123_SOURCE |
Macro to get the SPI3 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_SPI45_SOURCE | ( | ) |
Macro to get the SPI4/5 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_SPI4_SOURCE __HAL_RCC_GET_SPI45_SOURCE |
Macro to get the SPI4 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_SPI5_SOURCE __HAL_RCC_GET_SPI45_SOURCE |
Macro to get the SPI5 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_SPI6_SOURCE | ( | ) |
Macro to get the SPI6 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_SWPMI1_SOURCE | ( | ) |
Macro to get the SWPMI1 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_UART4_SOURCE __HAL_RCC_GET_USART234578_SOURCE |
macro to get the UART4 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_UART5_SOURCE __HAL_RCC_GET_USART234578_SOURCE |
macro to get the UART5 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_UART7_SOURCE __HAL_RCC_GET_USART234578_SOURCE |
macro to get the UART7 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_UART8_SOURCE __HAL_RCC_GET_USART234578_SOURCE |
macro to get the UART8 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_USART16910_SOURCE | ( | ) |
macro to get the USART1/6/9* /10* clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_USART1_SOURCE __HAL_RCC_GET_USART16_SOURCE |
macro to get the USART1 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_USART234578_SOURCE | ( | ) |
macro to get the USART2/3/4/5/7/8 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_USART2_SOURCE __HAL_RCC_GET_USART234578_SOURCE |
macro to get the USART2 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_USART3_SOURCE __HAL_RCC_GET_USART234578_SOURCE |
macro to get the USART3 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_USART6_SOURCE __HAL_RCC_GET_USART16_SOURCE |
macro to get the USART6 clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_GET_USB_SOURCE | ( | ) |
Macro to get the USB clock source.
| The | clock source can be one of the following values:
|
| #define __HAL_RCC_I2C1235_CONFIG | ( | __I2C1235CLKSource__ | ) |
macro to configure the I2C1/2/3/5* clock (I2C123CLK).
| __I2C1235CLKSource__ | specifies the I2C1/2/3/5* clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_I2C1_CONFIG __HAL_RCC_I2C123_CONFIG |
macro to configure the I2C1 clock (I2C1CLK).
| __I2C1CLKSource__ | specifies the I2C1 clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_I2C2_CONFIG __HAL_RCC_I2C123_CONFIG |
macro to configure the I2C2 clock (I2C2CLK).
| __I2C2CLKSource__ | specifies the I2C2 clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_I2C3_CONFIG __HAL_RCC_I2C123_CONFIG |
macro to configure the I2C3 clock (I2C3CLK).
| __I2C3CLKSource__ | specifies the I2C3 clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_I2C4_CONFIG | ( | __I2C4CLKSource__ | ) |
macro to configure the I2C4 clock (I2C4CLK).
| __I2C4CLKSource__ | specifies the I2C4 clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_LPTIM1_CONFIG | ( | __LPTIM1CLKSource__ | ) |
macro to configure the LPTIM1 clock source.
| __LPTIM1CLKSource__ | specifies the LPTIM1 clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_LPTIM2_CONFIG | ( | __LPTIM2CLKSource__ | ) |
macro to configure the LPTIM2 clock source.
| __LPTIM2CLKSource__ | specifies the LPTIM2 clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_LPTIM345_CONFIG | ( | __LPTIM345CLKSource__ | ) |
macro to configure the LPTIM3/4/5 clock source.
| __LPTIM345CLKSource__ | specifies the LPTIM3/4/5 clock source.
|
| #define __HAL_RCC_LPTIM3_CONFIG __HAL_RCC_LPTIM345_CONFIG |
macro to configure the LPTIM3 clock source.
| __LPTIM3CLKSource__ | specifies the LPTIM3 clock source.
|
| #define __HAL_RCC_LPUART1_CONFIG | ( | __LPUART1CLKSource__ | ) |
macro to configure the LPUART1 clock (LPUART1CLK).
| __LPUART1CLKSource__ | specifies the LPUART1 clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_LSECSS_EXTI_CLEAR_FLAG | ( | ) |
Clear the RCC LSE CSS EXTI flag.
| None. |
| #define __HAL_RCC_LSECSS_EXTI_DISABLE_EVENT | ( | ) |
Disable the RCC LSE CSS Event Line.
| None. |
| #define __HAL_RCC_LSECSS_EXTI_DISABLE_FALLING_EDGE | ( | ) |
Disable the RCC LSE CSS Extended Interrupt Falling Trigger.
| None. |
| #define __HAL_RCC_LSECSS_EXTI_DISABLE_IT | ( | ) |
Disable the RCC LSE CSS Extended Interrupt Line.
| None |
| #define __HAL_RCC_LSECSS_EXTI_DISABLE_RISING_EDGE | ( | ) |
Disable the RCC LSE CSS Extended Interrupt Rising Trigger.
| None. |
| #define __HAL_RCC_LSECSS_EXTI_DISABLE_RISING_FALLING_EDGE | ( | ) |
Disable the RCC LSE CSS Extended Interrupt Rising & Falling Trigger.
| None. |
| #define __HAL_RCC_LSECSS_EXTI_ENABLE_EVENT | ( | ) |
Enable the RCC LSE CSS Event Line.
| None. |
| #define __HAL_RCC_LSECSS_EXTI_ENABLE_FALLING_EDGE | ( | ) |
Enable the RCC LSE CSS Extended Interrupt Falling Trigger.
| None. |
| #define __HAL_RCC_LSECSS_EXTI_ENABLE_IT | ( | ) |
Enable the RCC LSE CSS Extended Interrupt Line.
| None |
| #define __HAL_RCC_LSECSS_EXTI_ENABLE_RISING_EDGE | ( | ) |
Enable the RCC LSE CSS Extended Interrupt Rising Trigger.
| None. |
| #define __HAL_RCC_LSECSS_EXTI_ENABLE_RISING_FALLING_EDGE | ( | ) |
Enable the RCC LSE CSS Extended Interrupt Rising & Falling Trigger.
| None. |
| #define __HAL_RCC_LSECSS_EXTI_GENERATE_SWIT | ( | ) |
Generate a Software interrupt on the RCC LSE CSS EXTI line.
| None. |
| #define __HAL_RCC_LSECSS_EXTI_GET_FLAG | ( | ) |
Check whether the specified RCC LSE CSS EXTI interrupt flag is set or not.
| EXTI | RCC LSE CSS Line Status. |
| #define __HAL_RCC_PLL2_CONFIG | ( | __PLL2M__, | |
| __PLL2N__, | |||
| __PLL2P__, | |||
| __PLL2Q__, | |||
| __PLL2R__ ) |
Macro to configures the PLL2 multiplication and division factors.
| __PLL2M__ | specifies the division factor for PLL2 VCO input clock This parameter must be a number between 1 and 63. |
| __PLL2N__ | specifies the multiplication factor for PLL2 VCO output clock This parameter must be a number between 4 and 512 or between 8 and 420(*). |
| __PLL2P__ | specifies the division factor for peripheral kernel clocks This parameter must be a number between 1 and 128. |
| __PLL2Q__ | specifies the division factor for peripheral kernel clocks This parameter must be a number between 1 and 128. |
| __PLL2R__ | specifies the division factor for peripheral kernel clocks This parameter must be a number between 1 and 128. |
| None |
(*) : For stm32h7a3xx and stm32h7b3xx family lines.
| #define __HAL_RCC_PLL2_DISABLE | ( | ) |
| #define __HAL_RCC_PLL2_ENABLE | ( | ) |
Macros to enable or disable PLL2.
| #define __HAL_RCC_PLL2_VCIRANGE | ( | __RCC_PLL2VCIRange__ | ) |
Macro to select the PLL2 reference frequency range.
| __RCC_PLL2VCIRange__ | specifies the PLL2 input frequency range This parameter can be one of the following values:
|
| None |
| #define __HAL_RCC_PLL2_VCORANGE | ( | __RCC_PLL2VCORange__ | ) |
Macro to select the PLL2 reference frequency range.
| __RCC_PLL2VCORange__ | Specifies the PLL2 input frequency range This parameter can be one of the following values:
|
| None |
| #define __HAL_RCC_PLL2CLKOUT_DISABLE | ( | __RCC_PLL2ClockOut__ | ) |
| #define __HAL_RCC_PLL2CLKOUT_ENABLE | ( | __RCC_PLL2ClockOut__ | ) |
Enables or disables each clock output (PLL2_P_CLK, PLL2_Q_CLK, PLL2_R_CLK).
| __RCC_PLL2ClockOut__ | Specifies the PLL2 clock to be outputted This parameter can be one of the following values:
|
| None |
| #define __HAL_RCC_PLL2FRACN_CONFIG | ( | __RCC_PLL2FRACN__ | ) |
Macro to configures PLL2 clock Fractional Part Of The Multiplication Factor.
| __RCC_PLL2FRACN__ | Specifies Fractional Part Of The Multiplication factor for PLL2 VCO It should be a value between 0 and 8191 |
(*) : For stm32h7a3xx and stm32h7b3xx family lines.
| None |
| #define __HAL_RCC_PLL2FRACN_DISABLE | ( | ) |
| #define __HAL_RCC_PLL2FRACN_ENABLE | ( | ) |
Enables or disables Fractional Part Of The Multiplication Factor of PLL2 VCO.
| None |
| #define __HAL_RCC_PLL3_CONFIG | ( | __PLL3M__, | |
| __PLL3N__, | |||
| __PLL3P__, | |||
| __PLL3Q__, | |||
| __PLL3R__ ) |
Macro to configures the PLL3 multiplication and division factors.
| __PLL3M__ | specifies the division factor for PLL3 VCO input clock This parameter must be a number between 1 and 63. |
| __PLL3N__ | specifies the multiplication factor for PLL3 VCO output clock This parameter must be a number between 4 and 512. |
| __PLL3P__ | specifies the division factor for peripheral kernel clocks This parameter must be a number between 2 and 128 (where odd numbers not allowed) |
| __PLL3Q__ | specifies the division factor for peripheral kernel clocks This parameter must be a number between 1 and 128 |
| __PLL3R__ | specifies the division factor for peripheral kernel clocks This parameter must be a number between 1 and 128 |
| None |
(*) : For stm32h7a3xx and stm32h7b3xx family lines.
| #define __HAL_RCC_PLL3_DISABLE | ( | ) |
| #define __HAL_RCC_PLL3_ENABLE | ( | ) |
Macros to enable or disable the main PLL3.
| #define __HAL_RCC_PLL3_VCIRANGE | ( | __RCC_PLL3VCIRange__ | ) |
Macro to select the PLL3 reference frequency range.
| __RCC_PLL3VCIRange__ | specifies the PLL1 input frequency range This parameter can be one of the following values:
|
| None |
| #define __HAL_RCC_PLL3_VCORANGE | ( | __RCC_PLL3VCORange__ | ) |
Macro to select the PLL3 reference frequency range.
| __RCC_PLL3VCORange__ | specifies the PLL1 input frequency range This parameter can be one of the following values:
|
| None |
| #define __HAL_RCC_PLL3CLKOUT_DISABLE | ( | __RCC_PLL3ClockOut__ | ) |
| #define __HAL_RCC_PLL3CLKOUT_ENABLE | ( | __RCC_PLL3ClockOut__ | ) |
Enables or disables each clock output (PLL3_P_CLK, PLL3_Q_CLK, PLL3_R_CLK).
| __RCC_PLL3ClockOut__ | specifies the PLL3 clock to be outputted This parameter can be one of the following values:
|
| None |
| #define __HAL_RCC_PLL3FRACN_CONFIG | ( | __RCC_PLL3FRACN__ | ) |
Macro to configures PLL3 clock Fractional Part of The Multiplication Factor.
| __RCC_PLL3FRACN__ | specifies Fractional Part Of The Multiplication Factor for PLL3 VCO It should be a value between 0 and 8191 |
(*) : For stm32h7a3xx and stm32h7b3xx family lines.
| None |
| #define __HAL_RCC_PLL3FRACN_DISABLE | ( | ) |
| #define __HAL_RCC_PLL3FRACN_ENABLE | ( | ) |
Enables or disables Fractional Part Of The Multiplication Factor of PLL3 VCO.
| None |
| #define __HAL_RCC_RNG_CONFIG | ( | __RNGCLKSource__ | ) |
macro to configure the RNG clock (RNGCLK).
| __RNGCLKSource__ | specifies the RNG clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_SAI1_CONFIG | ( | __RCC_SAI1CLKSource__ | ) |
Macro to Configure the SAI1 clock source.
| __RCC_SAI1CLKSource__ | defines the SAI1 clock source. This clock is derived from system PLL, PLL2, PLL3, OSC or external clock (through a dedicated PIN) This parameter can be one of the following values:
|
| None |
| #define __HAL_RCC_SDMMC_CONFIG | ( | __SDMMCCLKSource__ | ) |
Macro to configure the SDMMC clock.
| __SDMMCCLKSource__ | specifies clock source for SDMMC This parameter can be one of the following values:
|
| #define __HAL_RCC_SPDIFRX_CONFIG | ( | __RCC_SPDIFCLKSource__ | ) |
Macro to Configure the SPDIFRX clock source.
| __RCC_SPDIFCLKSource__ | defines the SPDIFRX clock source. This clock is derived from system PLL, PLL2, PLL3, or internal OSC clock This parameter can be one of the following values:
|
| None |
| #define __HAL_RCC_SPI123_CONFIG | ( | __RCC_SPI123CLKSource__ | ) |
Macro to Configure the SPI1/2/3 clock source.
| __RCC_SPI123CLKSource__ | defines the SPI1/2/3 clock source. This clock is derived from system PLL, PLL2, PLL3, OSC or external clock (through a dedicated PIN) This parameter can be one of the following values:
|
| None |
| #define __HAL_RCC_SPI1_CONFIG __HAL_RCC_SPI123_CONFIG |
Macro to Configure the SPI1 clock source.
| __RCC_SPI1CLKSource__ | defines the SPI1 clock source. This clock is derived from system PLL, PLL2, PLL3, OSC or external clock (through a dedicated PIN) This parameter can be one of the following values:
|
| None |
| #define __HAL_RCC_SPI2_CONFIG __HAL_RCC_SPI123_CONFIG |
Macro to Configure the SPI2 clock source.
| __RCC_SPI2CLKSource__ | defines the SPI2 clock source. This clock is derived from system PLL, PLL2, PLL3, OSC or external clock (through a dedicated PIN) This parameter can be one of the following values:
|
| None |
| #define __HAL_RCC_SPI3_CONFIG __HAL_RCC_SPI123_CONFIG |
Macro to Configure the SPI3 clock source.
| __RCC_SPI3CLKSource__ | defines the SPI3 clock source. This clock is derived from system PLL, PLL2, PLL3, OSC or external clock (through a dedicated PIN) This parameter can be one of the following values:
|
| None |
| #define __HAL_RCC_SPI45_CONFIG | ( | __RCC_SPI45CLKSource__ | ) |
Macro to Configure the SPI4/5 clock source.
| __RCC_SPI45CLKSource__ | defines the SPI4/5 clock source. This clock is derived from system PCLK, PLL2, PLL3, OSC This parameter can be one of the following values:
|
| None |
| #define __HAL_RCC_SPI4_CONFIG __HAL_RCC_SPI45_CONFIG |
Macro to Configure the SPI4 clock source.
| __RCC_SPI4CLKSource__ | defines the SPI4 clock source. This clock is derived from system PCLK, PLL2, PLL3, OSC This parameter can be one of the following values:
|
| None |
| #define __HAL_RCC_SPI5_CONFIG __HAL_RCC_SPI45_CONFIG |
Macro to Configure the SPI5 clock source.
| __RCC_SPI5CLKSource__ | defines the SPI5 clock source. This clock is derived from system PCLK, PLL2, PLL3, OSC This parameter can be one of the following values:
|
| None |
| #define __HAL_RCC_SPI6_CONFIG | ( | __RCC_SPI6CLKSource__ | ) |
Macro to Configure the SPI6 clock source.
| __RCC_SPI6CLKSource__ | defines the SPI6 clock source. This clock is derived from system PCLK, PLL2, PLL3, OSC This parameter can be one of the following values:
|
| None |
(*) : Available on stm32h7a3xx and stm32h7b3xx family lines.
| #define __HAL_RCC_SWPMI1_CONFIG | ( | __SWPMI1CLKSource__ | ) |
Macro to configure the SWPMI1 clock.
| __SWPMI1CLKSource__ | specifies the SWPMI1 clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_TIMCLKPRESCALER | ( | __PRESC__ | ) |
Macro to configure the Timers clocks prescalers.
| __PRESC__ | specifies the Timers clocks prescalers selection This parameter can be one of the following values:
|
| #define __HAL_RCC_UART4_CONFIG __HAL_RCC_USART234578_CONFIG |
macro to configure the UART4 clock (UART4CLK).
| __UART4CLKSource__ | specifies the UART4 clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_UART5_CONFIG __HAL_RCC_USART234578_CONFIG |
macro to configure the UART5 clock (UART5CLK).
| __UART5CLKSource__ | specifies the UART5 clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_UART7_CONFIG __HAL_RCC_USART234578_CONFIG |
macro to configure the UART5 clock (UART7CLK).
| __UART7CLKSource__ | specifies the UART7 clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_UART8_CONFIG __HAL_RCC_USART234578_CONFIG |
macro to configure the UART8 clock (UART8CLK).
| __UART8CLKSource__ | specifies the UART8 clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_USART16910_CONFIG | ( | __USART16910CLKSource__ | ) |
macro to configure the USART1/6/9* /10* clock (USART16CLK).
| __USART16910CLKSource__ | specifies the USART1/6/9* /10* clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_USART1_CONFIG __HAL_RCC_USART16_CONFIG |
macro to configure the USART1 clock (USART1CLK).
| __USART1CLKSource__ | specifies the USART1 clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_USART234578_CONFIG | ( | __USART234578CLKSource__ | ) |
macro to configure the USART234578 clock (USART234578CLK).
| __USART234578CLKSource__ | specifies the USART2/3/4/5/7/8 clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_USART2_CONFIG __HAL_RCC_USART234578_CONFIG |
macro to configure the USART2 clock (USART2CLK).
| __USART2CLKSource__ | specifies the USART2 clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_USART3_CONFIG __HAL_RCC_USART234578_CONFIG |
macro to configure the USART3 clock (USART3CLK).
| __USART3CLKSource__ | specifies the USART3 clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_USART6_CONFIG __HAL_RCC_USART16_CONFIG |
macro to configure the USART6 clock (USART6CLK).
| __USART6CLKSource__ | specifies the USART6 clock source. This parameter can be one of the following values:
|
| #define __HAL_RCC_USB_CONFIG | ( | __USBCLKSource__ | ) |
Macro to configure the USB clock (USBCLK).
| __USBCLKSource__ | specifies the USB clock source. This parameter can be one of the following values:
|
| #define RCC_CRS_FLAG_ERROR_MASK ((uint32_t)(RCC_CRS_FLAG_TRIMOVF | RCC_CRS_FLAG_SYNCERR | RCC_CRS_FLAG_SYNCMISS)) |
Clear the CRS specified FLAG.
| __FLAG__ | specifies the flag to clear. This parameter can be one of the following values:
|
| None |
| #define RCC_CRS_IT_ERROR_MASK ((uint32_t)(RCC_CRS_IT_TRIMOVF | RCC_CRS_IT_SYNCERR | RCC_CRS_IT_SYNCMISS)) |
Clear the CRS interrupt pending bits.
| __INTERRUPT__ | specifies the interrupt pending bit to clear. This parameter can be any combination of the following values:
|