STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
RCC Private macros to check input parameters
Collaboration diagram for RCC Private macros to check input parameters:

Macros

#define IS_RCC_PLLN_VALUE(VALUE)
 
#define IS_RCC_PLLI2SN_VALUE(VALUE)
 
#define IS_RCC_PERIPHCLOCK(SELECTION)
 
#define IS_RCC_PLLI2SR_VALUE(VALUE)
 
#define IS_RCC_PLLI2SQ_VALUE(VALUE)
 
#define IS_RCC_PLLSAIN_VALUE(VALUE)
 
#define IS_RCC_PLLSAIQ_VALUE(VALUE)
 
#define IS_RCC_PLLSAIR_VALUE(VALUE)
 
#define IS_RCC_PLLSAI_DIVQ_VALUE(VALUE)
 
#define IS_RCC_PLLI2S_DIVQ_VALUE(VALUE)
 
#define IS_RCC_PLLSAI_DIVR_VALUE(VALUE)
 
#define IS_RCC_PLLI2SM_VALUE(VALUE)
 
#define IS_RCC_LSE_MODE(MODE)
 
#define IS_RCC_PLLR_VALUE(VALUE)
 
#define IS_RCC_PLLI2SP_VALUE(VALUE)
 
#define IS_RCC_PLLSAIM_VALUE(VALUE)
 
#define IS_RCC_PLLSAIP_VALUE(VALUE)
 
#define IS_RCC_SAI1CLKSOURCE(SOURCE)
 
#define IS_RCC_SAI2CLKSOURCE(SOURCE)
 
#define IS_RCC_I2SAPB1CLKSOURCE(SOURCE)
 
#define IS_RCC_I2SAPB2CLKSOURCE(SOURCE)
 
#define IS_RCC_FMPI2C1CLKSOURCE(SOURCE)
 
#define IS_RCC_CECCLKSOURCE(SOURCE)
 
#define IS_RCC_CLK48CLKSOURCE(SOURCE)
 
#define IS_RCC_SDIOCLKSOURCE(SOURCE)
 
#define IS_RCC_SPDIFRXCLKSOURCE(SOURCE)
 
#define IS_RCC_MCO2SOURCE(SOURCE)
 

Detailed Description

Macro Definition Documentation

◆ IS_RCC_PLLN_VALUE

#define IS_RCC_PLLN_VALUE ( VALUE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((50U <= (VALUE)) && ((VALUE) <= 432U))

Definition at line 6931 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCC_OscConfig().

◆ IS_RCC_PLLI2SN_VALUE

#define IS_RCC_PLLI2SN_VALUE ( VALUE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((50U <= (VALUE)) && ((VALUE) <= 432U))

Definition at line 6932 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCCEx_PeriphCLKConfig().

◆ IS_RCC_PERIPHCLOCK

#define IS_RCC_PERIPHCLOCK ( SELECTION)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((1U <= (SELECTION)) && ((SELECTION) <= 0x00000FFFU))

Definition at line 6951 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCCEx_PeriphCLKConfig().

◆ IS_RCC_PLLI2SR_VALUE

#define IS_RCC_PLLI2SR_VALUE ( VALUE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((2U <= (VALUE)) && ((VALUE) <= 7U))

Definition at line 6966 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCCEx_PeriphCLKConfig().

◆ IS_RCC_PLLI2SQ_VALUE

#define IS_RCC_PLLI2SQ_VALUE ( VALUE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((2U <= (VALUE)) && ((VALUE) <= 15U))

Definition at line 6970 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCCEx_PeriphCLKConfig().

◆ IS_RCC_PLLSAIN_VALUE

#define IS_RCC_PLLSAIN_VALUE ( VALUE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((50U <= (VALUE)) && ((VALUE) <= 432U))

Definition at line 6972 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCCEx_PeriphCLKConfig().

◆ IS_RCC_PLLSAIQ_VALUE

#define IS_RCC_PLLSAIQ_VALUE ( VALUE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((2U <= (VALUE)) && ((VALUE) <= 15U))

Definition at line 6974 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCCEx_PeriphCLKConfig().

◆ IS_RCC_PLLSAIR_VALUE

#define IS_RCC_PLLSAIR_VALUE ( VALUE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((2U <= (VALUE)) && ((VALUE) <= 7U))

Definition at line 6976 of file stm32f4xx_hal_rcc_ex.h.

◆ IS_RCC_PLLSAI_DIVQ_VALUE

#define IS_RCC_PLLSAI_DIVQ_VALUE ( VALUE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((1U <= (VALUE)) && ((VALUE) <= 32U))

Definition at line 6978 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCCEx_PeriphCLKConfig().

◆ IS_RCC_PLLI2S_DIVQ_VALUE

#define IS_RCC_PLLI2S_DIVQ_VALUE ( VALUE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((1U <= (VALUE)) && ((VALUE) <= 32U))

Definition at line 6980 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCCEx_PeriphCLKConfig().

◆ IS_RCC_PLLSAI_DIVR_VALUE

#define IS_RCC_PLLSAI_DIVR_VALUE ( VALUE)

#include <stm32f4xx_hal_rcc_ex.h>

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

Definition at line 6982 of file stm32f4xx_hal_rcc_ex.h.

◆ IS_RCC_PLLI2SM_VALUE

#define IS_RCC_PLLI2SM_VALUE ( VALUE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((2U <= (VALUE)) && ((VALUE) <= 63U))

Definition at line 6990 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCCEx_PeriphCLKConfig().

◆ IS_RCC_LSE_MODE

#define IS_RCC_LSE_MODE ( MODE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(((MODE) == RCC_LSE_LOWPOWER_MODE) ||\
#define RCC_LSE_LOWPOWER_MODE
#define RCC_LSE_HIGHDRIVE_MODE

Definition at line 6992 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCCEx_SelectLSEMode().

◆ IS_RCC_PLLR_VALUE

#define IS_RCC_PLLR_VALUE ( VALUE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((2U <= (VALUE)) && ((VALUE) <= 7U))

Definition at line 7017 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCC_OscConfig().

◆ IS_RCC_PLLI2SP_VALUE

#define IS_RCC_PLLI2SP_VALUE ( VALUE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(((VALUE) == RCC_PLLI2SP_DIV2) ||\
((VALUE) == RCC_PLLI2SP_DIV4) ||\
((VALUE) == RCC_PLLI2SP_DIV6) ||\
((VALUE) == RCC_PLLI2SP_DIV8))
#define RCC_PLLI2SP_DIV6
#define RCC_PLLI2SP_DIV8
#define RCC_PLLI2SP_DIV2
#define RCC_PLLI2SP_DIV4

Definition at line 7019 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCCEx_PeriphCLKConfig().

◆ IS_RCC_PLLSAIM_VALUE

#define IS_RCC_PLLSAIM_VALUE ( VALUE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
((VALUE) <= 63U)

Definition at line 7024 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCCEx_PeriphCLKConfig().

◆ IS_RCC_PLLSAIP_VALUE

#define IS_RCC_PLLSAIP_VALUE ( VALUE)

#include <stm32f4xx_hal_rcc_ex.h>

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

Definition at line 7026 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCCEx_PeriphCLKConfig().

◆ IS_RCC_SAI1CLKSOURCE

#define IS_RCC_SAI1CLKSOURCE ( SOURCE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(((SOURCE) == RCC_SAI1CLKSOURCE_PLLSAI) ||\
((SOURCE) == RCC_SAI1CLKSOURCE_PLLI2S) ||\
((SOURCE) == RCC_SAI1CLKSOURCE_PLLR) ||\
((SOURCE) == RCC_SAI1CLKSOURCE_EXT))
#define RCC_SAI1CLKSOURCE_PLLI2S
#define RCC_SAI1CLKSOURCE_EXT
#define RCC_SAI1CLKSOURCE_PLLSAI
#define RCC_SAI1CLKSOURCE_PLLR

Definition at line 7031 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCCEx_PeriphCLKConfig().

◆ IS_RCC_SAI2CLKSOURCE

#define IS_RCC_SAI2CLKSOURCE ( SOURCE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(((SOURCE) == RCC_SAI2CLKSOURCE_PLLSAI) ||\
((SOURCE) == RCC_SAI2CLKSOURCE_PLLI2S) ||\
((SOURCE) == RCC_SAI2CLKSOURCE_PLLR) ||\
((SOURCE) == RCC_SAI2CLKSOURCE_PLLSRC))
#define RCC_SAI2CLKSOURCE_PLLSRC
#define RCC_SAI2CLKSOURCE_PLLSAI
#define RCC_SAI2CLKSOURCE_PLLR
#define RCC_SAI2CLKSOURCE_PLLI2S

Definition at line 7036 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCCEx_PeriphCLKConfig().

◆ IS_RCC_I2SAPB1CLKSOURCE

#define IS_RCC_I2SAPB1CLKSOURCE ( SOURCE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(((SOURCE) == RCC_I2SAPB1CLKSOURCE_PLLI2S) ||\
((SOURCE) == RCC_I2SAPB1CLKSOURCE_EXT) ||\
((SOURCE) == RCC_I2SAPB1CLKSOURCE_PLLR) ||\
#define RCC_I2SAPB1CLKSOURCE_PLLR
#define RCC_I2SAPB1CLKSOURCE_EXT
#define RCC_I2SAPB1CLKSOURCE_PLLSRC
#define RCC_I2SAPB1CLKSOURCE_PLLI2S

Definition at line 7041 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCCEx_PeriphCLKConfig().

◆ IS_RCC_I2SAPB2CLKSOURCE

#define IS_RCC_I2SAPB2CLKSOURCE ( SOURCE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(((SOURCE) == RCC_I2SAPB2CLKSOURCE_PLLI2S) ||\
((SOURCE) == RCC_I2SAPB2CLKSOURCE_EXT) ||\
((SOURCE) == RCC_I2SAPB2CLKSOURCE_PLLR) ||\
#define RCC_I2SAPB2CLKSOURCE_EXT
#define RCC_I2SAPB2CLKSOURCE_PLLSRC
#define RCC_I2SAPB2CLKSOURCE_PLLR
#define RCC_I2SAPB2CLKSOURCE_PLLI2S

Definition at line 7046 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCCEx_PeriphCLKConfig().

◆ IS_RCC_FMPI2C1CLKSOURCE

#define IS_RCC_FMPI2C1CLKSOURCE ( SOURCE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(((SOURCE) == RCC_FMPI2C1CLKSOURCE_PCLK1) ||\
((SOURCE) == RCC_FMPI2C1CLKSOURCE_SYSCLK) ||\
((SOURCE) == RCC_FMPI2C1CLKSOURCE_HSI))
#define RCC_FMPI2C1CLKSOURCE_SYSCLK
#define RCC_FMPI2C1CLKSOURCE_PCLK1
#define RCC_FMPI2C1CLKSOURCE_HSI

Definition at line 7051 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCCEx_PeriphCLKConfig().

◆ IS_RCC_CECCLKSOURCE

#define IS_RCC_CECCLKSOURCE ( SOURCE)

#include <stm32f4xx_hal_rcc_ex.h>

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

Definition at line 7055 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCCEx_PeriphCLKConfig().

◆ IS_RCC_CLK48CLKSOURCE

#define IS_RCC_CLK48CLKSOURCE ( SOURCE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(((SOURCE) == RCC_CLK48CLKSOURCE_PLLQ) ||\
#define RCC_CLK48CLKSOURCE_PLLQ
#define RCC_CLK48CLKSOURCE_PLLSAIP

Definition at line 7058 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCCEx_PeriphCLKConfig().

◆ IS_RCC_SDIOCLKSOURCE

#define IS_RCC_SDIOCLKSOURCE ( SOURCE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(((SOURCE) == RCC_SDIOCLKSOURCE_CLK48) ||\
((SOURCE) == RCC_SDIOCLKSOURCE_SYSCLK))
#define RCC_SDIOCLKSOURCE_SYSCLK
#define RCC_SDIOCLKSOURCE_CLK48

Definition at line 7061 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCCEx_PeriphCLKConfig().

◆ IS_RCC_SPDIFRXCLKSOURCE

#define IS_RCC_SPDIFRXCLKSOURCE ( SOURCE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(((SOURCE) == RCC_SPDIFRXCLKSOURCE_PLLR) ||\
#define RCC_SPDIFRXCLKSOURCE_PLLR
#define RCC_SPDIFRXCLKSOURCE_PLLI2SP

Definition at line 7064 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCCEx_PeriphCLKConfig().

◆ IS_RCC_MCO2SOURCE

#define IS_RCC_MCO2SOURCE ( SOURCE)

#include <stm32f4xx_hal_rcc_ex.h>

Value:
(((SOURCE) == RCC_MCO2SOURCE_SYSCLK) || ((SOURCE) == RCC_MCO2SOURCE_PLLI2SCLK)|| \
((SOURCE) == RCC_MCO2SOURCE_HSE) || ((SOURCE) == RCC_MCO2SOURCE_PLLCLK))
#define RCC_MCO2SOURCE_PLLI2SCLK
#define RCC_MCO2SOURCE_SYSCLK
#define RCC_MCO2SOURCE_PLLCLK
#define RCC_MCO2SOURCE_HSE

Definition at line 7159 of file stm32f4xx_hal_rcc_ex.h.

Referenced by HAL_RCC_MCOConfig().