Lines Matching refs:INSTANCE

7367 #define IS_ADC_ALL_INSTANCE(INSTANCE) ((INSTANCE) == ADC1)  argument
7368 #define IS_ADC_COMMON_INSTANCE(INSTANCE) ((INSTANCE) == ADC1_COMMON) argument
7371 #define IS_COMP_ALL_INSTANCE(INSTANCE) (((INSTANCE) == COMP1) || \ argument
7372 ((INSTANCE) == COMP2))
7377 #define IS_CRC_ALL_INSTANCE(INSTANCE) ((INSTANCE) == CRC) argument
7380 #define IS_DAC_ALL_INSTANCE(INSTANCE) ((INSTANCE) == DAC) argument
7383 #define IS_DMA_ALL_INSTANCE(INSTANCE) (((INSTANCE) == DMA1_Channel1) || \ argument
7384 ((INSTANCE) == DMA1_Channel2) || \
7385 ((INSTANCE) == DMA1_Channel3) || \
7386 ((INSTANCE) == DMA1_Channel4) || \
7387 ((INSTANCE) == DMA1_Channel5) || \
7388 ((INSTANCE) == DMA1_Channel6) || \
7389 ((INSTANCE) == DMA1_Channel7))
7392 #define IS_GPIO_ALL_INSTANCE(INSTANCE) (((INSTANCE) == GPIOA) || \ argument
7393 ((INSTANCE) == GPIOB) || \
7394 ((INSTANCE) == GPIOC) || \
7395 ((INSTANCE) == GPIOD) || \
7396 ((INSTANCE) == GPIOE) || \
7397 ((INSTANCE) == GPIOH))
7399 #define IS_GPIO_AF_INSTANCE(INSTANCE) (((INSTANCE) == GPIOA) || \ argument
7400 ((INSTANCE) == GPIOB) || \
7401 ((INSTANCE) == GPIOC) || \
7402 ((INSTANCE) == GPIOD) || \
7403 ((INSTANCE) == GPIOE) || \
7404 ((INSTANCE) == GPIOH))
7407 #define IS_I2C_ALL_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \ argument
7408 ((INSTANCE) == I2C2) || \
7409 ((INSTANCE) == I2C3))
7412 #define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \ argument
7413 ((INSTANCE) == I2C3))
7417 #define IS_I2S_ALL_INSTANCE(INSTANCE) ((INSTANCE) == SPI2) argument
7420 #define IS_RNG_ALL_INSTANCE(INSTANCE) ((INSTANCE) == RNG) argument
7423 #define IS_RTC_ALL_INSTANCE(INSTANCE) ((INSTANCE) == RTC) argument
7426 #define IS_SMBUS_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \ argument
7427 ((INSTANCE) == I2C3))
7430 #define IS_SPI_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \ argument
7431 ((INSTANCE) == SPI2))
7434 #define IS_LPTIM_INSTANCE(INSTANCE) ((INSTANCE) == LPTIM1) argument
7437 #define IS_TIM_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7438 ((INSTANCE) == TIM3) || \
7439 ((INSTANCE) == TIM6) || \
7440 ((INSTANCE) == TIM7) || \
7441 ((INSTANCE) == TIM21) || \
7442 ((INSTANCE) == TIM22))
7445 #define IS_TIM_COUNTER_MODE_SELECT_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7446 ((INSTANCE) == TIM3) || \
7447 ((INSTANCE) == TIM21) || \
7448 ((INSTANCE) == TIM22))
7451 #define IS_TIM_CLOCK_DIVISION_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7452 ((INSTANCE) == TIM3) || \
7453 ((INSTANCE) == TIM21) || \
7454 ((INSTANCE) == TIM22))
7457 #define IS_TIM_CLOCKSOURCE_ETRMODE1_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7458 ((INSTANCE) == TIM3) || \
7459 ((INSTANCE) == TIM21))
7462 #define IS_TIM_CLOCKSOURCE_ETRMODE2_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7463 ((INSTANCE) == TIM3) || \
7464 ((INSTANCE) == TIM21) || \
7465 ((INSTANCE) == TIM22))
7468 #define IS_TIM_CLOCKSOURCE_TIX_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7469 ((INSTANCE) == TIM3) || \
7470 ((INSTANCE) == TIM21))
7473 #define IS_TIM_CLOCKSOURCE_ITRX_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7474 ((INSTANCE) == TIM3) || \
7475 ((INSTANCE) == TIM21) || \
7476 ((INSTANCE) == TIM22))
7479 #define IS_TIM_CC1_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7480 ((INSTANCE) == TIM3) || \
7481 ((INSTANCE) == TIM21) || \
7482 ((INSTANCE) == TIM22))
7485 #define IS_TIM_CC2_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7486 ((INSTANCE) == TIM3) || \
7487 ((INSTANCE) == TIM21) || \
7488 ((INSTANCE) == TIM22))
7491 #define IS_TIM_CC3_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7492 ((INSTANCE) == TIM3))
7495 #define IS_TIM_CC4_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7496 ((INSTANCE) == TIM3))
7501 #define IS_TIM_XOR_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7502 ((INSTANCE) == TIM3))
7505 #define IS_TIM_DMA_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7506 ((INSTANCE) == TIM3) || \
7507 ((INSTANCE) == TIM6) || \
7508 ((INSTANCE) == TIM7))
7511 #define IS_TIM_DMA_CC_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7512 ((INSTANCE) == TIM3))
7515 #define IS_TIM_CCDMA_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7516 (INSTANCE) == TIM3))
7519 #define IS_TIM_DMABURST_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7520 ((INSTANCE) == TIM3))
7523 #define IS_TIM_MASTER_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7524 ((INSTANCE) == TIM3) || \
7525 ((INSTANCE) == TIM6) || \
7526 ((INSTANCE) == TIM7) || \
7527 ((INSTANCE) == TIM21) || \
7528 ((INSTANCE) == TIM22))
7531 #define IS_TIM_SLAVE_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7532 ((INSTANCE) == TIM3) || \
7533 ((INSTANCE) == TIM21) || \
7534 ((INSTANCE) == TIM22))
7539 #define IS_TIM_ETR_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7540 ((INSTANCE) == TIM3) || \
7541 ((INSTANCE) == TIM21) || \
7542 ((INSTANCE) == TIM22))
7545 #define IS_TIM_REMAP_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7546 ((INSTANCE) == TIM3) || \
7547 ((INSTANCE) == TIM21) || \
7548 ((INSTANCE) == TIM22))
7551 #define IS_TIM_ENCODER_INTERFACE_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7552 ((INSTANCE) == TIM3) || \
7553 ((INSTANCE) == TIM21) || \
7554 ((INSTANCE) == TIM22))
7557 #define IS_TIM_OCXREF_CLEAR_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
7558 ((INSTANCE) == TIM3))
7561 #define IS_TIM_CCX_INSTANCE(INSTANCE, CHANNEL) \ argument
7562 (((((INSTANCE) == TIM2) || \
7563 ((INSTANCE) == TIM3)) \
7570 (((INSTANCE) == TIM21) && \
7574 (((INSTANCE) == TIM22) && \
7579 #define IS_UART_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
7580 ((INSTANCE) == USART2) || \
7581 ((INSTANCE) == USART4) || \
7582 ((INSTANCE) == USART5) || \
7583 ((INSTANCE) == LPUART1))
7586 #define IS_USART_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
7587 ((INSTANCE) == USART2) || \
7588 ((INSTANCE) == USART4) || \
7589 ((INSTANCE) == USART5))
7593 #define IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
7594 ((INSTANCE) == USART2))
7597 #define IS_UART_HALFDUPLEX_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
7598 ((INSTANCE) == USART2) || \
7599 ((INSTANCE) == USART4) || \
7600 ((INSTANCE) == USART5) || \
7601 ((INSTANCE) == LPUART1))
7604 #define IS_UART_LIN_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
7605 ((INSTANCE) == USART2))
7608 #define IS_UART_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
7609 ((INSTANCE) == USART2) || \
7610 ((INSTANCE) == LPUART1))
7612 #define IS_UART_HWFLOW_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
7613 ((INSTANCE) == USART2) || \
7614 ((INSTANCE) == USART4) || \
7615 ((INSTANCE) == USART5) || \
7616 ((INSTANCE) == LPUART1))
7619 #define IS_SMARTCARD_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
7620 ((INSTANCE) == USART2))
7623 #define IS_IRDA_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
7624 ((INSTANCE) == USART2))
7627 #define IS_LPUART_INSTANCE(INSTANCE) ((INSTANCE) == LPUART1) argument
7630 #define IS_IWDG_ALL_INSTANCE(INSTANCE) ((INSTANCE) == IWDG) argument
7633 #define IS_USB_ALL_INSTANCE(INSTANCE) ((INSTANCE) == USB) argument
7636 #define IS_WWDG_ALL_INSTANCE(INSTANCE) ((INSTANCE) == WWDG) argument