mikroSDK Reference Manual

Macros

#define IS_RCC_PERIPHCLOCK(SELECTION)   ((1 <= (SELECTION)) && ((SELECTION) <= 0x0000000F))
 
#define IS_RCC_PLLI2SN_VALUE(VALUE)   ((192 <= (VALUE)) && ((VALUE) <= 432))
 
#define IS_RCC_PLLI2SR_VALUE(VALUE)   ((2 <= (VALUE)) && ((VALUE) <= 7))
 
#define IS_RCC_PLLN_VALUE(VALUE)   ((50U <= (VALUE)) && ((VALUE) <= 432U))
 
#define IS_RCC_PLLI2SN_VALUE(VALUE)   ((50U <= (VALUE)) && ((VALUE) <= 432U))
 
#define IS_RCC_PLLI2SR_VALUE(VALUE)   ((2U <= (VALUE)) && ((VALUE) <= 7U))
 
#define IS_RCC_PLLI2SN_VALUE(VALUE)   ((50 <= (VALUE)) && ((VALUE) <= 432))
 
#define IS_RCC_PLLI2SQ_VALUE(VALUE)   ((2 <= (VALUE)) && ((VALUE) <= 15))
 
#define IS_RCC_PLLI2SR_VALUE(VALUE)   ((2 <= (VALUE)) && ((VALUE) <= 7))
 
#define IS_RCC_PLLSAIN_VALUE(VALUE)   ((50 <= (VALUE)) && ((VALUE) <= 432))
 
#define IS_RCC_PLLSAIP_VALUE(VALUE)
 
#define IS_RCC_PLLSAIQ_VALUE(VALUE)   ((2 <= (VALUE)) && ((VALUE) <= 15))
 
#define IS_RCC_PLLSAIR_VALUE(VALUE)   ((2 <= (VALUE)) && ((VALUE) <= 7))
 
#define IS_RCC_PLLSAI_DIVQ_VALUE(VALUE)   ((1 <= (VALUE)) && ((VALUE) <= 32))
 
#define IS_RCC_PLLI2S_DIVQ_VALUE(VALUE)   ((1 <= (VALUE)) && ((VALUE) <= 32))
 
#define IS_RCC_PLLSAI_DIVR_VALUE(VALUE)
 
#define IS_RCC_I2SCLKSOURCE(SOURCE)
 
#define IS_RCC_SDMMC1CLKSOURCE(SOURCE)
 
#define IS_RCC_CECCLKSOURCE(SOURCE)
 
#define IS_RCC_USART1CLKSOURCE(SOURCE)
 
#define IS_RCC_USART2CLKSOURCE(SOURCE)
 
#define IS_RCC_USART3CLKSOURCE(SOURCE)
 
#define IS_RCC_UART4CLKSOURCE(SOURCE)
 
#define IS_RCC_UART5CLKSOURCE(SOURCE)
 
#define IS_RCC_USART6CLKSOURCE(SOURCE)
 
#define IS_RCC_UART7CLKSOURCE(SOURCE)
 
#define IS_RCC_UART8CLKSOURCE(SOURCE)
 
#define IS_RCC_I2C1CLKSOURCE(SOURCE)
 
#define IS_RCC_I2C2CLKSOURCE(SOURCE)
 
#define IS_RCC_I2C3CLKSOURCE(SOURCE)
 
#define IS_RCC_I2C4CLKSOURCE(SOURCE)
 
#define IS_RCC_LPTIM1CLK(SOURCE)
 
#define IS_RCC_CLK48SOURCE(SOURCE)
 
#define IS_RCC_TIMPRES(VALUE)
 
#define IS_RCC_PLL2CLOCKOUT_VALUE(VALUE)
 
#define IS_RCC_PLL3CLOCKOUT_VALUE(VALUE)
 
#define IS_RCC_USART16CLKSOURCE(SOURCE)
 
#define IS_RCC_USART16910CLKSOURCE   IS_RCC_USART16CLKSOURCE
 
#define IS_RCC_USART234578CLKSOURCE(SOURCE)
 
#define IS_RCC_USART1CLKSOURCE(SOURCE)
 
#define IS_RCC_USART2CLKSOURCE(SOURCE)
 
#define IS_RCC_USART3CLKSOURCE(SOURCE)
 
#define IS_RCC_UART4CLKSOURCE(SOURCE)
 
#define IS_RCC_UART5CLKSOURCE(SOURCE)
 
#define IS_RCC_USART6CLKSOURCE(SOURCE)
 
#define IS_RCC_UART7CLKSOURCE(SOURCE)
 
#define IS_RCC_UART8CLKSOURCE(SOURCE)
 
#define IS_RCC_LPUART1CLKSOURCE(SOURCE)
 
#define IS_RCC_I2C123CLKSOURCE(SOURCE)
 
#define IS_RCC_I2C1CLKSOURCE(SOURCE)
 
#define IS_RCC_I2C2CLKSOURCE(SOURCE)
 
#define IS_RCC_I2C3CLKSOURCE(SOURCE)
 
#define IS_RCC_I2C4CLKSOURCE(SOURCE)
 
#define IS_RCC_RNGCLKSOURCE(SOURCE)
 
#define IS_RCC_USBCLKSOURCE(SOURCE)
 
#define IS_RCC_SAI1CLK(__SOURCE__)
 
#define IS_RCC_SPI123CLK(__SOURCE__)
 
#define IS_RCC_SPI1CLK(__SOURCE__)
 
#define IS_RCC_SPI2CLK(__SOURCE__)
 
#define IS_RCC_SPI3CLK(__SOURCE__)
 
#define IS_RCC_SPI45CLK(__SOURCE__)
 
#define IS_RCC_SPI4CLK(__SOURCE__)
 
#define IS_RCC_SPI5CLK(__SOURCE__)
 
#define IS_RCC_SPI6CLK(__SOURCE__)
 
#define IS_RCC_PLL3M_VALUE(VALUE)   ((1U <= (VALUE)) && ((VALUE) <= 63U))
 
#define IS_RCC_PLL3N_VALUE(VALUE)   ((4U <= (VALUE)) && ((VALUE) <= 512U))
 
#define IS_RCC_PLL3P_VALUE(VALUE)   ((1U <= (VALUE)) && ((VALUE) <= 128U))
 
#define IS_RCC_PLL3Q_VALUE(VALUE)   ((1U <= (VALUE)) && ((VALUE) <= 128U))
 
#define IS_RCC_PLL3R_VALUE(VALUE)   ((1U <= (VALUE)) && ((VALUE) <= 128U))
 
#define IS_RCC_PLL2M_VALUE(VALUE)   ((1U <= (VALUE)) && ((VALUE) <= 63U))
 
#define IS_RCC_PLL2N_VALUE(VALUE)   ((4U <= (VALUE)) && ((VALUE) <= 512U))
 
#define IS_RCC_PLL2P_VALUE(VALUE)   ((1U <= (VALUE)) && ((VALUE) <= 128U))
 
#define IS_RCC_PLL2Q_VALUE(VALUE)   ((1U <= (VALUE)) && ((VALUE) <= 128U))
 
#define IS_RCC_PLL2R_VALUE(VALUE)   ((1U <= (VALUE)) && ((VALUE) <= 128U))
 
#define IS_RCC_PLL2RGE_VALUE(VALUE)
 
#define IS_RCC_PLL3RGE_VALUE(VALUE)
 
#define IS_RCC_PLL2VCO_VALUE(VALUE)
 
#define IS_RCC_PLL3VCO_VALUE(VALUE)
 
#define IS_RCC_LPTIM1CLK(SOURCE)
 
#define IS_RCC_LPTIM2CLK(SOURCE)
 
#define IS_RCC_LPTIM345CLK(SOURCE)
 
#define IS_RCC_LPTIM3CLK(SOURCE)
 
#define IS_RCC_FMCCLK(__SOURCE__)
 
#define IS_RCC_SDMMC(__SOURCE__)
 
#define IS_RCC_ADCCLKSOURCE(SOURCE)
 
#define IS_RCC_SWPMI1CLKSOURCE(SOURCE)
 
#define IS_RCC_DFSDM1CLKSOURCE(SOURCE)
 
#define IS_RCC_SPDIFRXCLKSOURCE(SOURCE)
 
#define IS_RCC_CECCLKSOURCE(SOURCE)
 
#define IS_RCC_CLKPSOURCE(SOURCE)
 
#define IS_RCC_TIMPRES(VALUE)
 
#define IS_RCC_SCOPE_WWDG(WWDG)   ((WWDG) == RCC_WWDG1)
 
#define IS_RCC_CRS_SYNC_SOURCE(__SOURCE__)
 
#define IS_RCC_CRS_SYNC_DIV(__DIV__)
 
#define IS_RCC_CRS_SYNC_POLARITY(__POLARITY__)
 
#define IS_RCC_CRS_RELOADVALUE(__VALUE__)   (((__VALUE__) <= 0xFFFFU))
 
#define IS_RCC_CRS_ERRORLIMIT(__VALUE__)   (((__VALUE__) <= 0xFFU))
 
#define IS_RCC_CRS_HSI48CALIBRATION(__VALUE__)   (((__VALUE__) <= 0x3FU))
 
#define IS_RCC_CRS_FREQERRORDIR(__DIR__)
 

Macro Definition Documentation

◆ IS_RCC_ADCCLKSOURCE

#define IS_RCC_ADCCLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_ADCCLKSOURCE_PLL2) || \
((SOURCE) == RCC_ADCCLKSOURCE_PLL3) || \
((SOURCE) == RCC_ADCCLKSOURCE_CLKP))

◆ IS_RCC_CECCLKSOURCE [1/2]

#define IS_RCC_CECCLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_CECCLKSOURCE_HSI) || \
((SOURCE) == RCC_CECCLKSOURCE_LSE))

◆ IS_RCC_CECCLKSOURCE [2/2]

#define IS_RCC_CECCLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_CECCLKSOURCE_LSE) || \
((SOURCE) == RCC_CECCLKSOURCE_LSI) || \
((SOURCE) == RCC_CECCLKSOURCE_CSI))

◆ IS_RCC_CLK48SOURCE

#define IS_RCC_CLK48SOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_CLK48SOURCE_PLLSAIP) || \
((SOURCE) == RCC_CLK48SOURCE_PLL))

◆ IS_RCC_CLKPSOURCE

#define IS_RCC_CLKPSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_CLKPSOURCE_HSI) || \
((SOURCE) == RCC_CLKPSOURCE_CSI) || \
((SOURCE) == RCC_CLKPSOURCE_HSE))

◆ IS_RCC_CRS_FREQERRORDIR

#define IS_RCC_CRS_FREQERRORDIR ( __DIR__)
Value:
(((__DIR__) == RCC_CRS_FREQERRORDIR_UP) || \
((__DIR__) == RCC_CRS_FREQERRORDIR_DOWN))
#define RCC_CRS_FREQERRORDIR_UP
Definition stm32h7xx_hal_rcc_ex.h:1714
#define RCC_CRS_FREQERRORDIR_DOWN
Definition stm32h7xx_hal_rcc_ex.h:1715

◆ IS_RCC_CRS_SYNC_DIV

#define IS_RCC_CRS_SYNC_DIV ( __DIV__)
Value:
(((__DIV__) == RCC_CRS_SYNC_DIV1) || ((__DIV__) == RCC_CRS_SYNC_DIV2) || \
((__DIV__) == RCC_CRS_SYNC_DIV4) || ((__DIV__) == RCC_CRS_SYNC_DIV8) || \
((__DIV__) == RCC_CRS_SYNC_DIV16) || ((__DIV__) == RCC_CRS_SYNC_DIV32) || \
((__DIV__) == RCC_CRS_SYNC_DIV64) || ((__DIV__) == RCC_CRS_SYNC_DIV128))
#define RCC_CRS_SYNC_DIV128
Definition stm32h7xx_hal_rcc_ex.h:1670
#define RCC_CRS_SYNC_DIV32
Definition stm32h7xx_hal_rcc_ex.h:1668
#define RCC_CRS_SYNC_DIV2
Definition stm32h7xx_hal_rcc_ex.h:1664
#define RCC_CRS_SYNC_DIV1
Definition stm32h7xx_hal_rcc_ex.h:1663
#define RCC_CRS_SYNC_DIV16
Definition stm32h7xx_hal_rcc_ex.h:1667
#define RCC_CRS_SYNC_DIV4
Definition stm32h7xx_hal_rcc_ex.h:1665
#define RCC_CRS_SYNC_DIV8
Definition stm32h7xx_hal_rcc_ex.h:1666
#define RCC_CRS_SYNC_DIV64
Definition stm32h7xx_hal_rcc_ex.h:1669

◆ IS_RCC_CRS_SYNC_POLARITY

#define IS_RCC_CRS_SYNC_POLARITY ( __POLARITY__)
Value:
(((__POLARITY__) == RCC_CRS_SYNC_POLARITY_RISING) || \
((__POLARITY__) == RCC_CRS_SYNC_POLARITY_FALLING))
#define RCC_CRS_SYNC_POLARITY_RISING
Definition stm32h7xx_hal_rcc_ex.h:1678
#define RCC_CRS_SYNC_POLARITY_FALLING
Definition stm32h7xx_hal_rcc_ex.h:1679

◆ IS_RCC_CRS_SYNC_SOURCE

#define IS_RCC_CRS_SYNC_SOURCE ( __SOURCE__)
Value:
(((__SOURCE__) == RCC_CRS_SYNC_SOURCE_USB2) || \
((__SOURCE__) == RCC_CRS_SYNC_SOURCE_LSE) || \
((__SOURCE__) == RCC_CRS_SYNC_SOURCE_USB1) || \
((__SOURCE__) == RCC_CRS_SYNC_SOURCE_PIN))
#define RCC_CRS_SYNC_SOURCE_USB2
Definition stm32h7xx_hal_rcc_ex.h:1653
#define RCC_CRS_SYNC_SOURCE_USB1
Definition stm32h7xx_hal_rcc_ex.h:1652
#define RCC_CRS_SYNC_SOURCE_PIN
Definition stm32h7xx_hal_rcc_ex.h:1650
#define RCC_CRS_SYNC_SOURCE_LSE
Definition stm32h7xx_hal_rcc_ex.h:1651

◆ IS_RCC_DFSDM1CLKSOURCE

#define IS_RCC_DFSDM1CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_DFSDM1CLKSOURCE_D2PCLK1) || \
((SOURCE) == RCC_DFSDM1CLKSOURCE_SYS))

◆ IS_RCC_FMCCLK

#define IS_RCC_FMCCLK ( __SOURCE__)
Value:
(((__SOURCE__) == RCC_FMCCLKSOURCE_D1HCLK) || \
((__SOURCE__) == RCC_FMCCLKSOURCE_PLL) || \
((__SOURCE__) == RCC_FMCCLKSOURCE_PLL2) || \
((__SOURCE__) == RCC_FMCCLKSOURCE_CLKP))

◆ IS_RCC_I2C123CLKSOURCE

#define IS_RCC_I2C123CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_I2C123CLKSOURCE_PLL3) || \
((SOURCE) == RCC_I2C123CLKSOURCE_HSI) || \
((SOURCE) == RCC_I2C123CLKSOURCE_D2PCLK1)|| \
((SOURCE) == RCC_I2C123CLKSOURCE_CSI))

◆ IS_RCC_I2C1CLKSOURCE [1/2]

#define IS_RCC_I2C1CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_I2C1CLKSOURCE_PCLK1) || \
((SOURCE) == RCC_I2C1CLKSOURCE_SYSCLK)|| \
((SOURCE) == RCC_I2C1CLKSOURCE_HSI))

◆ IS_RCC_I2C1CLKSOURCE [2/2]

#define IS_RCC_I2C1CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_I2C1CLKSOURCE_PLL3) || \
((SOURCE) == RCC_I2C1CLKSOURCE_HSI) || \
((SOURCE) == RCC_I2C1CLKSOURCE_D2PCLK1)|| \
((SOURCE) == RCC_I2C1CLKSOURCE_CSI))

◆ IS_RCC_I2C2CLKSOURCE [1/2]

#define IS_RCC_I2C2CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_I2C2CLKSOURCE_PCLK1) || \
((SOURCE) == RCC_I2C2CLKSOURCE_SYSCLK)|| \
((SOURCE) == RCC_I2C2CLKSOURCE_HSI))

◆ IS_RCC_I2C2CLKSOURCE [2/2]

#define IS_RCC_I2C2CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_I2C2CLKSOURCE_PLL3) || \
((SOURCE) == RCC_I2C2CLKSOURCE_HSI) || \
((SOURCE) == RCC_I2C2CLKSOURCE_D2PCLK1)|| \
((SOURCE) == RCC_I2C2CLKSOURCE_CSI))

◆ IS_RCC_I2C3CLKSOURCE [1/2]

#define IS_RCC_I2C3CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_I2C3CLKSOURCE_PCLK1) || \
((SOURCE) == RCC_I2C3CLKSOURCE_SYSCLK)|| \
((SOURCE) == RCC_I2C3CLKSOURCE_HSI))

◆ IS_RCC_I2C3CLKSOURCE [2/2]

#define IS_RCC_I2C3CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_I2C3CLKSOURCE_PLL3) || \
((SOURCE) == RCC_I2C3CLKSOURCE_HSI) || \
((SOURCE) == RCC_I2C3CLKSOURCE_D2PCLK1)|| \
((SOURCE) == RCC_I2C3CLKSOURCE_CSI))

◆ IS_RCC_I2C4CLKSOURCE [1/2]

#define IS_RCC_I2C4CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_I2C4CLKSOURCE_PCLK1) || \
((SOURCE) == RCC_I2C4CLKSOURCE_SYSCLK)|| \
((SOURCE) == RCC_I2C4CLKSOURCE_HSI))

◆ IS_RCC_I2C4CLKSOURCE [2/2]

#define IS_RCC_I2C4CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_I2C4CLKSOURCE_PLL3) || \
((SOURCE) == RCC_I2C4CLKSOURCE_HSI) || \
((SOURCE) == RCC_I2C4CLKSOURCE_D3PCLK1)|| \
((SOURCE) == RCC_I2C3CLKSOURCE_CSI))

◆ IS_RCC_I2SCLKSOURCE

#define IS_RCC_I2SCLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_I2SCLKSOURCE_PLLI2S) || \
((SOURCE) == RCC_I2SCLKSOURCE_EXT))

◆ IS_RCC_LPTIM1CLK [1/2]

#define IS_RCC_LPTIM1CLK ( SOURCE)
Value:
(((SOURCE) == RCC_LPTIM1CLKSOURCE_PCLK1) || \
((SOURCE) == RCC_LPTIM1CLKSOURCE_LSI) || \
((SOURCE) == RCC_LPTIM1CLKSOURCE_HSI) || \
((SOURCE) == RCC_LPTIM1CLKSOURCE_LSE))

◆ IS_RCC_LPTIM1CLK [2/2]

#define IS_RCC_LPTIM1CLK ( SOURCE)
Value:
(((SOURCE) == RCC_LPTIM1CLKSOURCE_D2PCLK1)|| \
((SOURCE) == RCC_LPTIM1CLKSOURCE_PLL2) || \
((SOURCE) == RCC_LPTIM1CLKSOURCE_PLL3) || \
((SOURCE) == RCC_LPTIM1CLKSOURCE_LSE) || \
((SOURCE) == RCC_LPTIM1CLKSOURCE_LSI) || \
((SOURCE) == RCC_LPTIM1CLKSOURCE_CLKP))

◆ IS_RCC_LPTIM2CLK

#define IS_RCC_LPTIM2CLK ( SOURCE)
Value:
(((SOURCE) == RCC_LPTIM2CLKSOURCE_D3PCLK1)|| \
((SOURCE) == RCC_LPTIM2CLKSOURCE_PLL2) || \
((SOURCE) == RCC_LPTIM2CLKSOURCE_PLL3) || \
((SOURCE) == RCC_LPTIM2CLKSOURCE_LSE) || \
((SOURCE) == RCC_LPTIM2CLKSOURCE_LSI) || \
((SOURCE) == RCC_LPTIM2CLKSOURCE_CLKP))

◆ IS_RCC_LPTIM345CLK

#define IS_RCC_LPTIM345CLK ( SOURCE)
Value:
(((SOURCE) == RCC_LPTIM345CLKSOURCE_D3PCLK1)|| \
((SOURCE) == RCC_LPTIM345CLKSOURCE_PLL2) || \
((SOURCE) == RCC_LPTIM345CLKSOURCE_PLL3) || \
((SOURCE) == RCC_LPTIM345CLKSOURCE_LSE) || \
((SOURCE) == RCC_LPTIM345CLKSOURCE_LSI) || \
((SOURCE) == RCC_LPTIM345CLKSOURCE_CLKP))

◆ IS_RCC_LPTIM3CLK

#define IS_RCC_LPTIM3CLK ( SOURCE)
Value:
(((SOURCE) == RCC_LPTIM3CLKSOURCE_D3PCLK1) || \
((SOURCE) == RCC_LPTIM3CLKSOURCE_PLL2) || \
((SOURCE) == RCC_LPTIM3CLKSOURCE_PLL3) || \
((SOURCE) == RCC_LPTIM3CLKSOURCE_LSE) || \
((SOURCE) == RCC_LPTIM3CLKSOURCE_LSI) || \
((SOURCE) == RCC_LPTIM3CLKSOURCE_CLKP))

◆ IS_RCC_LPUART1CLKSOURCE

#define IS_RCC_LPUART1CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_LPUART1CLKSOURCE_D3PCLK1) || \
((SOURCE) == RCC_LPUART1CLKSOURCE_PLL2) || \
((SOURCE) == RCC_LPUART1CLKSOURCE_PLL3) || \
((SOURCE) == RCC_LPUART1CLKSOURCE_CSI) || \
((SOURCE) == RCC_LPUART1CLKSOURCE_LSE) || \
((SOURCE) == RCC_LPUART1CLKSOURCE_HSI))

◆ IS_RCC_PLL2CLOCKOUT_VALUE

#define IS_RCC_PLL2CLOCKOUT_VALUE ( VALUE)
Value:
(((VALUE) == RCC_PLL2_DIVP) || \
((VALUE) == RCC_PLL2_DIVQ) || \
((VALUE) == RCC_PLL2_DIVR))

◆ IS_RCC_PLL2RGE_VALUE

#define IS_RCC_PLL2RGE_VALUE ( VALUE)
Value:
(((VALUE) == RCC_PLL2VCIRANGE_0) || \
((VALUE) == RCC_PLL2VCIRANGE_1) || \
((VALUE) == RCC_PLL2VCIRANGE_2) || \
((VALUE) == RCC_PLL2VCIRANGE_3))
#define RCC_PLL2VCIRANGE_3
Definition stm32h7xx_hal_rcc_ex.h:491
#define RCC_PLL2VCIRANGE_2
Definition stm32h7xx_hal_rcc_ex.h:490
#define RCC_PLL2VCIRANGE_1
Definition stm32h7xx_hal_rcc_ex.h:489
#define RCC_PLL2VCIRANGE_0
Definition stm32h7xx_hal_rcc_ex.h:488

◆ IS_RCC_PLL2VCO_VALUE

#define IS_RCC_PLL2VCO_VALUE ( VALUE)
Value:
(((VALUE) == RCC_PLL2VCOWIDE) || \
((VALUE) == RCC_PLL2VCOMEDIUM))

◆ IS_RCC_PLL3CLOCKOUT_VALUE

#define IS_RCC_PLL3CLOCKOUT_VALUE ( VALUE)
Value:
(((VALUE) == RCC_PLL3_DIVP) || \
((VALUE) == RCC_PLL3_DIVQ) || \
((VALUE) == RCC_PLL3_DIVR))

◆ IS_RCC_PLL3RGE_VALUE

#define IS_RCC_PLL3RGE_VALUE ( VALUE)
Value:
(((VALUE) == RCC_PLL3VCIRANGE_0) || \
((VALUE) == RCC_PLL3VCIRANGE_1) || \
((VALUE) == RCC_PLL3VCIRANGE_2) || \
((VALUE) == RCC_PLL3VCIRANGE_3))
#define RCC_PLL3VCIRANGE_0
Definition stm32h7xx_hal_rcc_ex.h:511
#define RCC_PLL3VCIRANGE_1
Definition stm32h7xx_hal_rcc_ex.h:512
#define RCC_PLL3VCIRANGE_2
Definition stm32h7xx_hal_rcc_ex.h:513
#define RCC_PLL3VCIRANGE_3
Definition stm32h7xx_hal_rcc_ex.h:514

◆ IS_RCC_PLL3VCO_VALUE

#define IS_RCC_PLL3VCO_VALUE ( VALUE)
Value:
(((VALUE) == RCC_PLL3VCOWIDE) || \
((VALUE) == RCC_PLL3VCOMEDIUM))

◆ IS_RCC_PLLSAI_DIVR_VALUE

#define IS_RCC_PLLSAI_DIVR_VALUE ( VALUE)
Value:
(((VALUE) == RCC_PLLSAIDIVR_2) ||\
((VALUE) == RCC_PLLSAIDIVR_4) ||\
((VALUE) == RCC_PLLSAIDIVR_8) ||\
((VALUE) == RCC_PLLSAIDIVR_16))

◆ IS_RCC_PLLSAIP_VALUE

#define IS_RCC_PLLSAIP_VALUE ( VALUE)
Value:
(((VALUE) == RCC_PLLSAIP_DIV2) ||\
((VALUE) == RCC_PLLSAIP_DIV4) ||\
((VALUE) == RCC_PLLSAIP_DIV6) ||\
((VALUE) == RCC_PLLSAIP_DIV8))

◆ IS_RCC_RNGCLKSOURCE

#define IS_RCC_RNGCLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_RNGCLKSOURCE_HSI48)|| \
((SOURCE) == RCC_RNGCLKSOURCE_PLL) || \
((SOURCE) == RCC_RNGCLKSOURCE_LSE) || \
((SOURCE) == RCC_RNGCLKSOURCE_LSI))

◆ IS_RCC_SAI1CLK

#define IS_RCC_SAI1CLK ( __SOURCE__)
Value:
(((__SOURCE__) == RCC_SAI1CLKSOURCE_PLL) || \
((__SOURCE__) == RCC_SAI1CLKSOURCE_PLL2) || \
((__SOURCE__) == RCC_SAI1CLKSOURCE_PLL3) || \
((__SOURCE__) == RCC_SAI1CLKSOURCE_CLKP) || \
((__SOURCE__) == RCC_SAI1CLKSOURCE_PIN))

◆ IS_RCC_SDMMC

#define IS_RCC_SDMMC ( __SOURCE__)
Value:
(((__SOURCE__) == RCC_SDMMCCLKSOURCE_PLL) || \
((__SOURCE__) == RCC_SDMMCCLKSOURCE_PLL2))

◆ IS_RCC_SDMMC1CLKSOURCE

#define IS_RCC_SDMMC1CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_SDMMC1CLKSOURCE_SYSCLK) || \
((SOURCE) == RCC_SDMMC1CLKSOURCE_CLK48))

◆ IS_RCC_SPDIFRXCLKSOURCE

#define IS_RCC_SPDIFRXCLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_SPDIFRXCLKSOURCE_PLL) || \
((SOURCE) == RCC_SPDIFRXCLKSOURCE_PLL2) || \
((SOURCE) == RCC_SPDIFRXCLKSOURCE_PLL3) || \
((SOURCE) == RCC_SPDIFRXCLKSOURCE_HSI))

◆ IS_RCC_SPI123CLK

#define IS_RCC_SPI123CLK ( __SOURCE__)
Value:
(((__SOURCE__) == RCC_SPI123CLKSOURCE_PLL) || \
((__SOURCE__) == RCC_SPI123CLKSOURCE_PLL2) || \
((__SOURCE__) == RCC_SPI123CLKSOURCE_PLL3) || \
((__SOURCE__) == RCC_SPI123CLKSOURCE_CLKP) || \
((__SOURCE__) == RCC_SPI123CLKSOURCE_PIN))

◆ IS_RCC_SPI1CLK

#define IS_RCC_SPI1CLK ( __SOURCE__)
Value:
(((__SOURCE__) == RCC_SPI1CLKSOURCE_PLL) || \
((__SOURCE__) == RCC_SPI1CLKSOURCE_PLL2) || \
((__SOURCE__) == RCC_SPI1CLKSOURCE_PLL3) || \
((__SOURCE__) == RCC_SPI1CLKSOURCE_CLKP) || \
((__SOURCE__) == RCC_SPI1CLKSOURCE_PIN))

◆ IS_RCC_SPI2CLK

#define IS_RCC_SPI2CLK ( __SOURCE__)
Value:
(((__SOURCE__) == RCC_SPI2CLKSOURCE_PLL) || \
((__SOURCE__) == RCC_SPI2CLKSOURCE_PLL2) || \
((__SOURCE__) == RCC_SPI2CLKSOURCE_PLL3) || \
((__SOURCE__) == RCC_SPI2CLKSOURCE_CLKP) || \
((__SOURCE__) == RCC_SPI2CLKSOURCE_PIN))

◆ IS_RCC_SPI3CLK

#define IS_RCC_SPI3CLK ( __SOURCE__)
Value:
(((__SOURCE__) == RCC_SPI3CLKSOURCE_PLL) || \
((__SOURCE__) == RCC_SPI3CLKSOURCE_PLL2) || \
((__SOURCE__) == RCC_SPI3CLKSOURCE_PLL3) || \
((__SOURCE__) == RCC_SPI3CLKSOURCE_CLKP) || \
((__SOURCE__) == RCC_SPI3CLKSOURCE_PIN))

◆ IS_RCC_SPI45CLK

#define IS_RCC_SPI45CLK ( __SOURCE__)
Value:
(((__SOURCE__) == RCC_SPI45CLKSOURCE_D2PCLK1) || \
((__SOURCE__) == RCC_SPI45CLKSOURCE_PLL2) || \
((__SOURCE__) == RCC_SPI45CLKSOURCE_PLL3) || \
((__SOURCE__) == RCC_SPI45CLKSOURCE_HSI) || \
((__SOURCE__) == RCC_SPI45CLKSOURCE_CSI) || \
((__SOURCE__) == RCC_SPI45CLKSOURCE_HSE))

◆ IS_RCC_SPI4CLK

#define IS_RCC_SPI4CLK ( __SOURCE__)
Value:
(((__SOURCE__) == RCC_SPI4CLKSOURCE_D2PCLK1) || \
((__SOURCE__) == RCC_SPI4CLKSOURCE_PLL2) || \
((__SOURCE__) == RCC_SPI4CLKSOURCE_PLL3) || \
((__SOURCE__) == RCC_SPI4CLKSOURCE_HSI) || \
((__SOURCE__) == RCC_SPI4CLKSOURCE_CSI) || \
((__SOURCE__) == RCC_SPI4CLKSOURCE_HSE))

◆ IS_RCC_SPI5CLK

#define IS_RCC_SPI5CLK ( __SOURCE__)
Value:
(((__SOURCE__) == RCC_SPI5CLKSOURCE_D2PCLK1)|| \
((__SOURCE__) == RCC_SPI5CLKSOURCE_PLL2) || \
((__SOURCE__) == RCC_SPI5CLKSOURCE_PLL3) || \
((__SOURCE__) == RCC_SPI5CLKSOURCE_HSI) || \
((__SOURCE__) == RCC_SPI5CLKSOURCE_CSI) || \
((__SOURCE__) == RCC_SPI5CLKSOURCE_HSE))

◆ IS_RCC_SPI6CLK

#define IS_RCC_SPI6CLK ( __SOURCE__)
Value:
(((__SOURCE__) == RCC_SPI6CLKSOURCE_D3PCLK1) || \
((__SOURCE__) == RCC_SPI6CLKSOURCE_PLL2) || \
((__SOURCE__) == RCC_SPI6CLKSOURCE_PLL3) || \
((__SOURCE__) == RCC_SPI6CLKSOURCE_HSI) || \
((__SOURCE__) == RCC_SPI6CLKSOURCE_CSI) || \
((__SOURCE__) == RCC_SPI6CLKSOURCE_HSE) || \
((__SOURCE__) == RCC_SPI6CLKSOURCE_PIN))

◆ IS_RCC_SWPMI1CLKSOURCE

#define IS_RCC_SWPMI1CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_SWPMI1CLKSOURCE_D2PCLK1) || \
((SOURCE) == RCC_SWPMI1CLKSOURCE_HSI))

◆ IS_RCC_TIMPRES [1/2]

#define IS_RCC_TIMPRES ( VALUE)
Value:
(((VALUE) == RCC_TIMPRES_DESACTIVATED) || \
((VALUE) == RCC_TIMPRES_ACTIVATED))

◆ IS_RCC_TIMPRES [2/2]

#define IS_RCC_TIMPRES ( VALUE)
Value:
(((VALUE) == RCC_TIMPRES_DESACTIVATED) || \
((VALUE) == RCC_TIMPRES_ACTIVATED))

◆ IS_RCC_UART4CLKSOURCE [1/2]

#define IS_RCC_UART4CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_UART4CLKSOURCE_PCLK1) || \
((SOURCE) == RCC_UART4CLKSOURCE_SYSCLK) || \
((SOURCE) == RCC_UART4CLKSOURCE_LSE) || \
((SOURCE) == RCC_UART4CLKSOURCE_HSI))

◆ IS_RCC_UART4CLKSOURCE [2/2]

#define IS_RCC_UART4CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_UART4CLKSOURCE_D2PCLK1) || \
((SOURCE) == RCC_UART4CLKSOURCE_PLL2) || \
((SOURCE) == RCC_UART4CLKSOURCE_PLL3) || \
((SOURCE) == RCC_UART4CLKSOURCE_CSI) || \
((SOURCE) == RCC_UART4CLKSOURCE_LSE) || \
((SOURCE) == RCC_UART4CLKSOURCE_HSI))

◆ IS_RCC_UART5CLKSOURCE [1/2]

#define IS_RCC_UART5CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_UART5CLKSOURCE_PCLK1) || \
((SOURCE) == RCC_UART5CLKSOURCE_SYSCLK) || \
((SOURCE) == RCC_UART5CLKSOURCE_LSE) || \
((SOURCE) == RCC_UART5CLKSOURCE_HSI))

◆ IS_RCC_UART5CLKSOURCE [2/2]

#define IS_RCC_UART5CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_UART5CLKSOURCE_D2PCLK1) || \
((SOURCE) == RCC_UART5CLKSOURCE_PLL2) || \
((SOURCE) == RCC_UART5CLKSOURCE_PLL3) || \
((SOURCE) == RCC_UART5CLKSOURCE_CSI) || \
((SOURCE) == RCC_UART5CLKSOURCE_LSE) || \
((SOURCE) == RCC_UART5CLKSOURCE_HSI))

◆ IS_RCC_UART7CLKSOURCE [1/2]

#define IS_RCC_UART7CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_UART7CLKSOURCE_PCLK1) || \
((SOURCE) == RCC_UART7CLKSOURCE_SYSCLK) || \
((SOURCE) == RCC_UART7CLKSOURCE_LSE) || \
((SOURCE) == RCC_UART7CLKSOURCE_HSI))

◆ IS_RCC_UART7CLKSOURCE [2/2]

#define IS_RCC_UART7CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_UART7CLKSOURCE_D2PCLK1) || \
((SOURCE) == RCC_UART7CLKSOURCE_PLL2) || \
((SOURCE) == RCC_UART7CLKSOURCE_PLL3) || \
((SOURCE) == RCC_UART7CLKSOURCE_CSI) || \
((SOURCE) == RCC_UART7CLKSOURCE_LSE) || \
((SOURCE) == RCC_UART7CLKSOURCE_HSI))

◆ IS_RCC_UART8CLKSOURCE [1/2]

#define IS_RCC_UART8CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_UART8CLKSOURCE_PCLK1) || \
((SOURCE) == RCC_UART8CLKSOURCE_SYSCLK) || \
((SOURCE) == RCC_UART8CLKSOURCE_LSE) || \
((SOURCE) == RCC_UART8CLKSOURCE_HSI))

◆ IS_RCC_UART8CLKSOURCE [2/2]

#define IS_RCC_UART8CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_UART8CLKSOURCE_D2PCLK1) || \
((SOURCE) == RCC_UART8CLKSOURCE_PLL2) || \
((SOURCE) == RCC_UART8CLKSOURCE_PLL3) || \
((SOURCE) == RCC_UART8CLKSOURCE_CSI) || \
((SOURCE) == RCC_UART8CLKSOURCE_LSE) || \
((SOURCE) == RCC_UART8CLKSOURCE_HSI))

◆ IS_RCC_USART16CLKSOURCE

#define IS_RCC_USART16CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_USART16CLKSOURCE_D2PCLK2)|| \
((SOURCE) == RCC_USART16CLKSOURCE_CDPCLK2)|| \
((SOURCE) == RCC_USART16CLKSOURCE_PLL2) || \
((SOURCE) == RCC_USART16CLKSOURCE_PLL3) || \
((SOURCE) == RCC_USART16CLKSOURCE_CSI) || \
((SOURCE) == RCC_USART16CLKSOURCE_LSE) || \
((SOURCE) == RCC_USART16CLKSOURCE_HSI))

◆ IS_RCC_USART1CLKSOURCE [1/2]

#define IS_RCC_USART1CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_USART1CLKSOURCE_PCLK2) || \
((SOURCE) == RCC_USART1CLKSOURCE_SYSCLK) || \
((SOURCE) == RCC_USART1CLKSOURCE_LSE) || \
((SOURCE) == RCC_USART1CLKSOURCE_HSI))

◆ IS_RCC_USART1CLKSOURCE [2/2]

#define IS_RCC_USART1CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_USART1CLKSOURCE_D2PCLK2)|| \
((SOURCE) == RCC_USART1CLKSOURCE_PLL2) || \
((SOURCE) == RCC_USART1CLKSOURCE_PLL3) || \
((SOURCE) == RCC_USART1CLKSOURCE_CSI) || \
((SOURCE) == RCC_USART1CLKSOURCE_LSE) || \
((SOURCE) == RCC_USART1CLKSOURCE_HSI))

◆ IS_RCC_USART234578CLKSOURCE

#define IS_RCC_USART234578CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_USART234578CLKSOURCE_D2PCLK1)|| \
((SOURCE) == RCC_USART234578CLKSOURCE_CDPCLK1)|| \
((SOURCE) == RCC_USART234578CLKSOURCE_PLL2) || \
((SOURCE) == RCC_USART234578CLKSOURCE_PLL3) || \
((SOURCE) == RCC_USART234578CLKSOURCE_CSI) || \
((SOURCE) == RCC_USART234578CLKSOURCE_LSE) || \
((SOURCE) == RCC_USART234578CLKSOURCE_HSI))

◆ IS_RCC_USART2CLKSOURCE [1/2]

#define IS_RCC_USART2CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_USART2CLKSOURCE_PCLK1) || \
((SOURCE) == RCC_USART2CLKSOURCE_SYSCLK) || \
((SOURCE) == RCC_USART2CLKSOURCE_LSE) || \
((SOURCE) == RCC_USART2CLKSOURCE_HSI))

◆ IS_RCC_USART2CLKSOURCE [2/2]

#define IS_RCC_USART2CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_USART2CLKSOURCE_D2PCLK1)|| \
((SOURCE) == RCC_USART2CLKSOURCE_PLL2) || \
((SOURCE) == RCC_USART2CLKSOURCE_PLL3) || \
((SOURCE) == RCC_USART2CLKSOURCE_CSI) || \
((SOURCE) == RCC_USART2CLKSOURCE_LSE) || \
((SOURCE) == RCC_USART2CLKSOURCE_HSI))

◆ IS_RCC_USART3CLKSOURCE [1/2]

#define IS_RCC_USART3CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_USART3CLKSOURCE_PCLK1) || \
((SOURCE) == RCC_USART3CLKSOURCE_SYSCLK) || \
((SOURCE) == RCC_USART3CLKSOURCE_LSE) || \
((SOURCE) == RCC_USART3CLKSOURCE_HSI))

◆ IS_RCC_USART3CLKSOURCE [2/2]

#define IS_RCC_USART3CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_USART3CLKSOURCE_D2PCLK1)|| \
((SOURCE) == RCC_USART3CLKSOURCE_PLL2) || \
((SOURCE) == RCC_USART3CLKSOURCE_PLL3) || \
((SOURCE) == RCC_USART3CLKSOURCE_CSI) || \
((SOURCE) == RCC_USART3CLKSOURCE_LSE) || \
((SOURCE) == RCC_USART3CLKSOURCE_HSI))

◆ IS_RCC_USART6CLKSOURCE [1/2]

#define IS_RCC_USART6CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_USART6CLKSOURCE_PCLK2) || \
((SOURCE) == RCC_USART6CLKSOURCE_SYSCLK) || \
((SOURCE) == RCC_USART6CLKSOURCE_LSE) || \
((SOURCE) == RCC_USART6CLKSOURCE_HSI))

◆ IS_RCC_USART6CLKSOURCE [2/2]

#define IS_RCC_USART6CLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_USART6CLKSOURCE_D2PCLK2)|| \
((SOURCE) == RCC_USART6CLKSOURCE_PLL2) || \
((SOURCE) == RCC_USART6CLKSOURCE_PLL3) || \
((SOURCE) == RCC_USART6CLKSOURCE_CSI) || \
((SOURCE) == RCC_USART6CLKSOURCE_LSE) || \
((SOURCE) == RCC_USART6CLKSOURCE_HSI))

◆ IS_RCC_USBCLKSOURCE

#define IS_RCC_USBCLKSOURCE ( SOURCE)
Value:
(((SOURCE) == RCC_USBCLKSOURCE_PLL) || \
((SOURCE) == RCC_USBCLKSOURCE_PLL3) || \
((SOURCE) == RCC_USBCLKSOURCE_HSI48))