Lines Matching refs:INSTANCE
6335 #define IS_ADC_ALL_INSTANCE(INSTANCE) ((INSTANCE) == ADC1) argument
6336 #define IS_ADC_COMMON_INSTANCE(INSTANCE) ((INSTANCE) == ADC1_COMMON) argument
6339 #define IS_AES_ALL_INSTANCE(INSTANCE) ((INSTANCE) == AES) argument
6342 #define IS_COMP_ALL_INSTANCE(INSTANCE) (((INSTANCE) == COMP1) || \ argument
6343 ((INSTANCE) == COMP2))
6348 #define IS_CRC_ALL_INSTANCE(INSTANCE) ((INSTANCE) == CRC) argument
6351 #define IS_DMA_ALL_INSTANCE(INSTANCE) (((INSTANCE) == DMA1_Channel1) || \ argument
6352 ((INSTANCE) == DMA1_Channel2) || \
6353 ((INSTANCE) == DMA1_Channel3) || \
6354 ((INSTANCE) == DMA1_Channel4) || \
6355 ((INSTANCE) == DMA1_Channel5) || \
6356 ((INSTANCE) == DMA1_Channel6) || \
6357 ((INSTANCE) == DMA1_Channel7))
6360 #define IS_GPIO_ALL_INSTANCE(INSTANCE) (((INSTANCE) == GPIOA) || \ argument
6361 ((INSTANCE) == GPIOB) || \
6362 ((INSTANCE) == GPIOC) || \
6363 ((INSTANCE) == GPIOD) || \
6364 ((INSTANCE) == GPIOE) || \
6365 ((INSTANCE) == GPIOH))
6367 #define IS_GPIO_AF_INSTANCE(INSTANCE) (((INSTANCE) == GPIOA) || \ argument
6368 ((INSTANCE) == GPIOB) || \
6369 ((INSTANCE) == GPIOC) || \
6370 ((INSTANCE) == GPIOD) || \
6371 ((INSTANCE) == GPIOE))
6374 #define IS_I2C_ALL_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \ argument
6375 ((INSTANCE) == I2C2) || \
6376 ((INSTANCE) == I2C3))
6379 #define IS_I2C_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \ argument
6380 ((INSTANCE) == I2C3))
6384 #define IS_I2S_ALL_INSTANCE(INSTANCE) ((INSTANCE) == SPI2) argument
6388 #define IS_RTC_ALL_INSTANCE(INSTANCE) ((INSTANCE) == RTC) argument
6391 #define IS_SMBUS_INSTANCE(INSTANCE) (((INSTANCE) == I2C1) || \ argument
6392 ((INSTANCE) == I2C3))
6395 #define IS_SPI_ALL_INSTANCE(INSTANCE) (((INSTANCE) == SPI1) || \ argument
6396 ((INSTANCE) == SPI2))
6399 #define IS_LPTIM_INSTANCE(INSTANCE) ((INSTANCE) == LPTIM1) argument
6402 #define IS_TIM_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
6403 ((INSTANCE) == TIM3) || \
6404 ((INSTANCE) == TIM6) || \
6405 ((INSTANCE) == TIM7) || \
6406 ((INSTANCE) == TIM21) || \
6407 ((INSTANCE) == TIM22))
6410 #define IS_TIM_COUNTER_MODE_SELECT_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
6411 ((INSTANCE) == TIM3) || \
6412 ((INSTANCE) == TIM21) || \
6413 ((INSTANCE) == TIM22))
6416 #define IS_TIM_CLOCK_DIVISION_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
6417 ((INSTANCE) == TIM3) || \
6418 ((INSTANCE) == TIM21) || \
6419 ((INSTANCE) == TIM22))
6422 #define IS_TIM_CLOCKSOURCE_ETRMODE1_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
6423 ((INSTANCE) == TIM3) || \
6424 ((INSTANCE) == TIM21))
6427 #define IS_TIM_CLOCKSOURCE_ETRMODE2_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
6428 ((INSTANCE) == TIM3) || \
6429 ((INSTANCE) == TIM21) || \
6430 ((INSTANCE) == TIM22))
6433 #define IS_TIM_CLOCKSOURCE_TIX_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
6434 ((INSTANCE) == TIM3) || \
6435 ((INSTANCE) == TIM21))
6438 #define IS_TIM_CLOCKSOURCE_ITRX_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
6439 ((INSTANCE) == TIM3) || \
6440 ((INSTANCE) == TIM21) || \
6441 ((INSTANCE) == TIM22))
6444 #define IS_TIM_CC1_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
6445 ((INSTANCE) == TIM3) || \
6446 ((INSTANCE) == TIM21) || \
6447 ((INSTANCE) == TIM22))
6450 #define IS_TIM_CC2_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
6451 ((INSTANCE) == TIM3) || \
6452 ((INSTANCE) == TIM21) || \
6453 ((INSTANCE) == TIM22))
6456 #define IS_TIM_CC3_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
6457 ((INSTANCE) == TIM3))
6460 #define IS_TIM_CC4_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
6461 ((INSTANCE) == TIM3))
6466 #define IS_TIM_XOR_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
6467 ((INSTANCE) == TIM3))
6470 #define IS_TIM_DMA_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
6471 ((INSTANCE) == TIM3) || \
6472 ((INSTANCE) == TIM6) || \
6473 ((INSTANCE) == TIM7))
6476 #define IS_TIM_DMA_CC_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
6477 ((INSTANCE) == TIM3))
6480 #define IS_TIM_CCDMA_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
6481 (INSTANCE) == TIM3))
6484 #define IS_TIM_DMABURST_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
6485 ((INSTANCE) == TIM3))
6488 #define IS_TIM_MASTER_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
6489 ((INSTANCE) == TIM3) || \
6490 ((INSTANCE) == TIM6) || \
6491 ((INSTANCE) == TIM7) || \
6492 ((INSTANCE) == TIM21) || \
6493 ((INSTANCE) == TIM22))
6496 #define IS_TIM_SLAVE_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
6497 ((INSTANCE) == TIM3) || \
6498 ((INSTANCE) == TIM21) || \
6499 ((INSTANCE) == TIM22))
6504 #define IS_TIM_ETR_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
6505 ((INSTANCE) == TIM3) || \
6506 ((INSTANCE) == TIM21) || \
6507 ((INSTANCE) == TIM22))
6510 #define IS_TIM_REMAP_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
6511 ((INSTANCE) == TIM3) || \
6512 ((INSTANCE) == TIM21) || \
6513 ((INSTANCE) == TIM22))
6516 #define IS_TIM_ENCODER_INTERFACE_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
6517 ((INSTANCE) == TIM3) || \
6518 ((INSTANCE) == TIM21) || \
6519 ((INSTANCE) == TIM22))
6522 #define IS_TIM_OCXREF_CLEAR_INSTANCE(INSTANCE) (((INSTANCE) == TIM2) || \ argument
6523 ((INSTANCE) == TIM3))
6526 #define IS_TIM_CCX_INSTANCE(INSTANCE, CHANNEL) \ argument
6527 (((((INSTANCE) == TIM2) || \
6528 ((INSTANCE) == TIM3)) \
6535 (((INSTANCE) == TIM21) && \
6539 (((INSTANCE) == TIM22) && \
6544 #define IS_UART_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
6545 ((INSTANCE) == USART2) || \
6546 ((INSTANCE) == USART4) || \
6547 ((INSTANCE) == USART5) || \
6548 ((INSTANCE) == LPUART1))
6551 #define IS_USART_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
6552 ((INSTANCE) == USART2) || \
6553 ((INSTANCE) == USART4) || \
6554 ((INSTANCE) == USART5))
6558 #define IS_USART_AUTOBAUDRATE_DETECTION_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
6559 ((INSTANCE) == USART2))
6562 #define IS_UART_HALFDUPLEX_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
6563 ((INSTANCE) == USART2) || \
6564 ((INSTANCE) == USART4) || \
6565 ((INSTANCE) == USART5) || \
6566 ((INSTANCE) == LPUART1))
6569 #define IS_UART_LIN_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
6570 ((INSTANCE) == USART2))
6573 #define IS_UART_WAKEUP_FROMSTOP_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
6574 ((INSTANCE) == USART2) || \
6575 ((INSTANCE) == LPUART1))
6577 #define IS_UART_HWFLOW_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
6578 ((INSTANCE) == USART2) || \
6579 ((INSTANCE) == USART4) || \
6580 ((INSTANCE) == USART5) || \
6581 ((INSTANCE) == LPUART1))
6584 #define IS_SMARTCARD_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
6585 ((INSTANCE) == USART2))
6588 #define IS_IRDA_INSTANCE(INSTANCE) (((INSTANCE) == USART1) || \ argument
6589 ((INSTANCE) == USART2))
6592 #define IS_LPUART_INSTANCE(INSTANCE) ((INSTANCE) == LPUART1) argument
6595 #define IS_IWDG_ALL_INSTANCE(INSTANCE) ((INSTANCE) == IWDG) argument
6598 #define IS_WWDG_ALL_INSTANCE(INSTANCE) ((INSTANCE) == WWDG) argument