Lines Matching refs:INSTANCE

7889 #define IS_ADC_ALL_INSTANCE(INSTANCE) ((INSTANCE) == ADC1)  argument
7891 #define IS_ADC_COMMON_INSTANCE(INSTANCE) ((INSTANCE) == ADC1_COMMON) argument
7894 #define IS_COMP_ALL_INSTANCE(INSTANCE) (((INSTANCE) == COMP1) || \ argument
7895 ((INSTANCE) == COMP2))
7900 #define IS_CRC_ALL_INSTANCE(INSTANCE) ((INSTANCE) == CRC) argument
7903 #define IS_DAC_ALL_INSTANCE(INSTANCE) ((INSTANCE) == DAC) argument
7906 #define IS_DMA_ALL_INSTANCE(INSTANCE) (((INSTANCE) == DMA1_Channel1) || \ argument
7907 ((INSTANCE) == DMA1_Channel2) || \
7908 ((INSTANCE) == DMA1_Channel3) || \
7909 ((INSTANCE) == DMA1_Channel4) || \
7910 ((INSTANCE) == DMA1_Channel5) || \
7911 ((INSTANCE) == DMA1_Channel6) || \
7912 ((INSTANCE) == DMA1_Channel7))
7915 #define IS_GPIO_ALL_INSTANCE(INSTANCE) (((INSTANCE) == GPIOA) || \ argument
7916 ((INSTANCE) == GPIOB) || \
7917 ((INSTANCE) == GPIOC) || \
7918 ((INSTANCE) == GPIOD) || \
7919 ((INSTANCE) == GPIOE) || \
7920 ((INSTANCE) == GPIOH))
7923 #define IS_GPIO_AF_INSTANCE(INSTANCE) IS_GPIO_ALL_INSTANCE(INSTANCE) argument
7927 #define IS_GPIO_LOCK_INSTANCE(INSTANCE) IS_GPIO_ALL_INSTANCE(INSTANCE) argument
7930 #define IS_I2C_ALL_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \ argument
7931 ((INSTANCE) == I2C2))
7934 #define IS_SMBUS_ALL_INSTANCE(INSTANCE) IS_I2C_ALL_INSTANCE(INSTANCE) argument
7937 #define IS_IWDG_ALL_INSTANCE(INSTANCE) ((INSTANCE) == IWDG) argument
7940 #define IS_RTC_ALL_INSTANCE(INSTANCE) ((INSTANCE) == RTC) argument
7943 #define IS_SPI_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \ argument
7944 ((INSTANCE) == SPI2))
7948 #define IS_TIM_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7949 ((INSTANCE) == TIM3) || \
7950 ((INSTANCE) == TIM4) || \
7951 ((INSTANCE) == TIM6) || \
7952 ((INSTANCE) == TIM7) || \
7953 ((INSTANCE) == TIM9) || \
7954 ((INSTANCE) == TIM10) || \
7955 ((INSTANCE) == TIM11))
7957 #define IS_TIM_CC1_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7958 ((INSTANCE) == TIM3) || \
7959 ((INSTANCE) == TIM4) || \
7960 ((INSTANCE) == TIM9) || \
7961 ((INSTANCE) == TIM10) || \
7962 ((INSTANCE) == TIM11))
7964 #define IS_TIM_CC2_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7965 ((INSTANCE) == TIM3) || \
7966 ((INSTANCE) == TIM4) || \
7967 ((INSTANCE) == TIM9))
7969 #define IS_TIM_CC3_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7970 ((INSTANCE) == TIM3) || \
7971 ((INSTANCE) == TIM4))
7973 #define IS_TIM_CC4_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7974 ((INSTANCE) == TIM3) || \
7975 ((INSTANCE) == TIM4))
7977 #define IS_TIM_CLOCKSOURCE_ETRMODE1_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7978 ((INSTANCE) == TIM3) || \
7979 ((INSTANCE) == TIM4) || \
7980 ((INSTANCE) == TIM9))
7982 #define IS_TIM_CLOCKSOURCE_ETRMODE2_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7983 ((INSTANCE) == TIM3) || \
7984 ((INSTANCE) == TIM4) || \
7985 ((INSTANCE) == TIM9) || \
7986 ((INSTANCE) == TIM10) || \
7987 ((INSTANCE) == TIM11))
7989 #define IS_TIM_CLOCKSOURCE_TIX_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7990 ((INSTANCE) == TIM3) || \
7991 ((INSTANCE) == TIM4) || \
7992 ((INSTANCE) == TIM9))
7994 #define IS_TIM_CLOCKSOURCE_ITRX_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7995 ((INSTANCE) == TIM3) || \
7996 ((INSTANCE) == TIM4) || \
7997 ((INSTANCE) == TIM9))
7999 #define IS_TIM_OCXREF_CLEAR_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
8000 ((INSTANCE) == TIM3) || \
8001 ((INSTANCE) == TIM4))
8003 #define IS_TIM_XOR_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
8004 ((INSTANCE) == TIM3) || \
8005 ((INSTANCE) == TIM4))
8007 #define IS_TIM_MASTER_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
8008 ((INSTANCE) == TIM3) || \
8009 ((INSTANCE) == TIM4) || \
8010 ((INSTANCE) == TIM6) || \
8011 ((INSTANCE) == TIM7) || \
8012 ((INSTANCE) == TIM9))
8014 #define IS_TIM_SLAVE_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
8015 ((INSTANCE) == TIM3) || \
8016 ((INSTANCE) == TIM4) || \
8017 ((INSTANCE) == TIM9))
8019 #define IS_TIM_DMABURST_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
8020 ((INSTANCE) == TIM3) || \
8021 ((INSTANCE) == TIM4))
8023 #define IS_TIM_CCX_INSTANCE(INSTANCE, CHANNEL) \ argument
8024 ((((INSTANCE) == TIM2) && \
8030 (((INSTANCE) == TIM3) && \
8036 (((INSTANCE) == TIM4) && \
8042 (((INSTANCE) == TIM9) && \
8046 (((INSTANCE) == TIM10) && \
8049 (((INSTANCE) == TIM11) && \
8052 #define IS_TIM_CLOCK_DIVISION_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
8053 ((INSTANCE) == TIM3) || \
8054 ((INSTANCE) == TIM4) || \
8055 ((INSTANCE) == TIM9) || \
8056 ((INSTANCE) == TIM10) || \
8057 ((INSTANCE) == TIM11))
8059 #define IS_TIM_DMA_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
8060 ((INSTANCE) == TIM3) || \
8061 ((INSTANCE) == TIM4) || \
8062 ((INSTANCE) == TIM6) || \
8063 ((INSTANCE) == TIM7))
8065 #define IS_TIM_DMA_CC_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
8066 ((INSTANCE) == TIM3) || \
8067 ((INSTANCE) == TIM4))
8069 #define IS_TIM_COUNTER_MODE_SELECT_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
8070 ((INSTANCE) == TIM3) || \
8071 ((INSTANCE) == TIM4))
8073 #define IS_TIM_ENCODER_INTERFACE_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
8074 ((INSTANCE) == TIM3) || \
8075 ((INSTANCE) == TIM4))
8077 #define IS_TIM_REMAP_INSTANCE(INSTANCE) (((INSTANCE) == TIM9) || \ argument
8078 ((INSTANCE) == TIM10) || \
8079 ((INSTANCE) == TIM11))
8082 #define IS_USART_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
8083 ((INSTANCE) == USART2) || \
8084 ((INSTANCE) == USART3))
8087 #define IS_UART_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
8088 ((INSTANCE) == USART2) || \
8089 ((INSTANCE) == USART3))
8092 #define IS_UART_HALFDUPLEX_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
8093 ((INSTANCE) == USART2) || \
8094 … ((INSTANCE) == USART3))
8097 #define IS_UART_LIN_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
8098 ((INSTANCE) == USART2) || \
8099 ((INSTANCE) == USART3))
8102 #define IS_UART_HWFLOW_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
8103 ((INSTANCE) == USART2) || \
8104 ((INSTANCE) == USART3))
8107 #define IS_SMARTCARD_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
8108 ((INSTANCE) == USART2) || \
8109 ((INSTANCE) == USART3))
8112 #define IS_IRDA_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
8113 ((INSTANCE) == USART2) || \
8114 ((INSTANCE) == USART3))
8117 #define IS_UART_MULTIPROCESSOR_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
8118 ((INSTANCE) == USART2) || \
8119 ((INSTANCE) == USART3))
8122 #define IS_WWDG_ALL_INSTANCE(INSTANCE) ((INSTANCE) == WWDG) argument
8125 #define IS_USB_ALL_INSTANCE(INSTANCE) ((INSTANCE) == USB) argument