/lk-master/external/platform/stm32f1xx/STM32F10x_StdPeriph_Driver/inc/ |
A D | stm32f10x_tim.h | 168 #define IS_TIM_ALL_PERIPH(PERIPH) (((PERIPH) == TIM1) || \ argument 187 #define IS_TIM_LIST1_PERIPH(PERIPH) (((PERIPH) == TIM1) || \ argument 191 #define IS_TIM_LIST2_PERIPH(PERIPH) (((PERIPH) == TIM1) || \ argument 198 #define IS_TIM_LIST3_PERIPH(PERIPH) (((PERIPH) == TIM1) || \ argument 206 #define IS_TIM_LIST4_PERIPH(PERIPH) (((PERIPH) == TIM1) || \ argument 217 #define IS_TIM_LIST5_PERIPH(PERIPH) (((PERIPH) == TIM1) || \ argument 226 #define IS_TIM_LIST6_PERIPH(PERIPH) (((PERIPH) == TIM1) || \ argument 233 ((PERIPH) == TIM12)|| \ 237 #define IS_TIM_LIST7_PERIPH(PERIPH) (((PERIPH) == TIM1) || \ argument 250 #define IS_TIM_LIST8_PERIPH(PERIPH) (((PERIPH) == TIM1) || \ argument [all …]
|
A D | stm32f10x_usart.h | 106 #define IS_USART_ALL_PERIPH(PERIPH) (((PERIPH) == USART1) || \ argument 107 ((PERIPH) == USART2) || \ 108 ((PERIPH) == USART3) || \ 109 ((PERIPH) == UART4) || \ 110 ((PERIPH) == UART5)) 112 #define IS_USART_123_PERIPH(PERIPH) (((PERIPH) == USART1) || \ argument 113 ((PERIPH) == USART2) || \ 114 ((PERIPH) == USART3)) 116 #define IS_USART_1234_PERIPH(PERIPH) (((PERIPH) == USART1) || \ argument 119 ((PERIPH) == UART4)) [all …]
|
A D | stm32f10x_dma.h | 94 #define IS_DMA_ALL_PERIPH(PERIPH) (((PERIPH) == DMA1_Channel1) || \ argument 95 ((PERIPH) == DMA1_Channel2) || \ 96 ((PERIPH) == DMA1_Channel3) || \ 97 ((PERIPH) == DMA1_Channel4) || \ 98 ((PERIPH) == DMA1_Channel5) || \ 99 ((PERIPH) == DMA1_Channel6) || \ 100 ((PERIPH) == DMA1_Channel7) || \ 101 ((PERIPH) == DMA2_Channel1) || \ 102 ((PERIPH) == DMA2_Channel2) || \ 103 ((PERIPH) == DMA2_Channel3) || \ [all …]
|
A D | stm32f10x_dbgmcu.h | 80 #define IS_DBGMCU_PERIPH(PERIPH) ((((PERIPH) & 0x800000F8) == 0x00) && ((PERIPH) != 0x00)) argument
|
A D | stm32f10x_rcc.h | 478 #define IS_RCC_AHB_PERIPH(PERIPH) ((((PERIPH) & 0xFFFFFAA8) == 0x00) && ((PERIPH) != 0x00)) argument 485 #define IS_RCC_AHB_PERIPH(PERIPH) ((((PERIPH) & 0xFFFE2FA8) == 0x00) && ((PERIPH) != 0x00)) argument 486 #define IS_RCC_AHB_PERIPH_RESET(PERIPH) ((((PERIPH) & 0xFFFFAFFF) == 0x00) && ((PERIPH) != 0x00)) argument 518 #define IS_RCC_APB2_PERIPH(PERIPH) ((((PERIPH) & 0xFFC00002) == 0x00) && ((PERIPH) != 0x00)) argument 553 #define IS_RCC_APB1_PERIPH(PERIPH) ((((PERIPH) & 0x81013600) == 0x00) && ((PERIPH) != 0x00)) argument
|
A D | stm32f10x_gpio.h | 45 #define IS_GPIO_ALL_PERIPH(PERIPH) (((PERIPH) == GPIOA) || \ argument 46 ((PERIPH) == GPIOB) || \ 47 ((PERIPH) == GPIOC) || \ 48 ((PERIPH) == GPIOD) || \ 49 ((PERIPH) == GPIOE) || \ 50 ((PERIPH) == GPIOF) || \ 51 ((PERIPH) == GPIOG))
|
A D | stm32f10x_spi.h | 116 #define IS_SPI_ALL_PERIPH(PERIPH) (((PERIPH) == SPI1) || \ argument 117 ((PERIPH) == SPI2) || \ 118 ((PERIPH) == SPI3)) 120 #define IS_SPI_23_PERIPH(PERIPH) (((PERIPH) == SPI2) || \ argument 121 ((PERIPH) == SPI3))
|
A D | stm32f10x_adc.h | 82 #define IS_ADC_ALL_PERIPH(PERIPH) (((PERIPH) == ADC1) || \ argument 83 ((PERIPH) == ADC2) || \ 84 ((PERIPH) == ADC3)) 86 #define IS_ADC_DMA_PERIPH(PERIPH) (((PERIPH) == ADC1) || \ argument 87 ((PERIPH) == ADC3))
|
/lk-master/external/platform/stm32f4xx/STM32F4xx_StdPeriph_Driver/inc/ |
A D | stm32f4xx_spi.h | 119 #define IS_SPI_ALL_PERIPH(PERIPH) (((PERIPH) == SPI1) || \ argument 120 ((PERIPH) == SPI2) || \ 121 ((PERIPH) == SPI3) || \ 122 ((PERIPH) == SPI4) || \ 123 ((PERIPH) == SPI5) || \ 124 ((PERIPH) == SPI6)) 126 #define IS_SPI_ALL_PERIPH_EXT(PERIPH) (((PERIPH) == SPI1) || \ argument 135 #define IS_SPI_23_PERIPH(PERIPH) (((PERIPH) == SPI2) || \ argument 136 ((PERIPH) == SPI3)) 138 #define IS_SPI_23_PERIPH_EXT(PERIPH) (((PERIPH) == SPI2) || \ argument [all …]
|
A D | stm32f4xx_dbgmcu.h | 56 #define IS_DBGMCU_PERIPH(PERIPH) ((((PERIPH) & 0xFFFFFFF8) == 0x00) && ((PERIPH) != 0x00)) argument 75 #define IS_DBGMCU_APB1PERIPH(PERIPH) ((((PERIPH) & 0xF91FE200) == 0x00) && ((PERIPH) != 0x00)) argument 82 #define IS_DBGMCU_APB2PERIPH(PERIPH) ((((PERIPH) & 0xFFF8FFFC) == 0x00) && ((PERIPH) != 0x00)) argument
|
A D | stm32f4xx_tim.h | 175 #define IS_TIM_ALL_PERIPH(PERIPH) (((PERIPH) == TIM1) || \ argument 188 ((PERIPH) == TIM14))) 190 #define IS_TIM_LIST1_PERIPH(PERIPH) (((PERIPH) == TIM1) || \ argument 201 ((PERIPH) == TIM14)) 204 #define IS_TIM_LIST2_PERIPH(PERIPH) (((PERIPH) == TIM1) || \ argument 213 #define IS_TIM_LIST3_PERIPH(PERIPH) (((PERIPH) == TIM1) || \ argument 218 ((PERIPH) == TIM8)) 220 #define IS_TIM_LIST4_PERIPH(PERIPH) (((PERIPH) == TIM1) || \ argument 221 ((PERIPH) == TIM8)) 223 #define IS_TIM_LIST5_PERIPH(PERIPH) (((PERIPH) == TIM1) || \ argument [all …]
|
A D | stm32f4xx_rcc.h | 481 #define IS_RCC_AHB1_CLOCKGATING(PERIPH) ((((PERIPH) & 0xFFFFFF80) == 0x00) && ((PERIPH) != 0x00)) argument 519 #define IS_RCC_AHB1_CLOCK_PERIPH(PERIPH) ((((PERIPH) & 0x810BE800) == 0x00) && ((PERIPH) != 0x00)) argument 520 #define IS_RCC_AHB1_RESET_PERIPH(PERIPH) ((((PERIPH) & 0xDD1FE800) == 0x00) && ((PERIPH) != 0x00)) argument 521 #define IS_RCC_AHB1_LPMODE_PERIPH(PERIPH) ((((PERIPH) & 0x81106800) == 0x00) && ((PERIPH) != 0x00)) argument 535 #define IS_RCC_AHB2_PERIPH(PERIPH) ((((PERIPH) & 0xFFFFFF0E) == 0x00) && ((PERIPH) != 0x00)) argument 545 #define IS_RCC_AHB3_PERIPH(PERIPH) ((((PERIPH) & 0xFFFFFFFE) == 0x00) && ((PERIPH) != 0x00)) argument 550 #define IS_RCC_AHB3_PERIPH(PERIPH) ((((PERIPH) & 0xFFFFFFFE) == 0x00) && ((PERIPH) != 0x00)) argument 556 #define IS_RCC_AHB3_PERIPH(PERIPH) ((((PERIPH) & 0xFFFFFFFC) == 0x00) && ((PERIPH) != 0x00)) argument 600 #define IS_RCC_APB1_PERIPH(PERIPH) ((((PERIPH) & 0x00003600) == 0x00) && ((PERIPH) != 0x00)) argument 631 #define IS_RCC_APB2_PERIPH(PERIPH) ((((PERIPH) & 0xF30880CC) == 0x00) && ((PERIPH) != 0x00)) argument [all …]
|
A D | stm32f4xx_usart.h | 110 #define IS_USART_ALL_PERIPH(PERIPH) (((PERIPH) == USART1) || \ argument 111 ((PERIPH) == USART2) || \ 112 ((PERIPH) == USART3) || \ 113 ((PERIPH) == UART4) || \ 114 ((PERIPH) == UART5) || \ 115 ((PERIPH) == USART6) || \ 116 ((PERIPH) == UART7) || \ 117 ((PERIPH) == UART8)) 119 #define IS_USART_1236_PERIPH(PERIPH) (((PERIPH) == USART1) || \ argument 120 ((PERIPH) == USART2) || \ [all …]
|
A D | stm32f4xx_dma.h | 118 #define IS_DMA_ALL_PERIPH(PERIPH) (((PERIPH) == DMA1_Stream0) || \ argument 119 ((PERIPH) == DMA1_Stream1) || \ 120 ((PERIPH) == DMA1_Stream2) || \ 121 ((PERIPH) == DMA1_Stream3) || \ 122 ((PERIPH) == DMA1_Stream4) || \ 123 ((PERIPH) == DMA1_Stream5) || \ 124 ((PERIPH) == DMA1_Stream6) || \ 125 ((PERIPH) == DMA1_Stream7) || \ 126 ((PERIPH) == DMA2_Stream0) || \ 127 ((PERIPH) == DMA2_Stream1) || \ [all …]
|
A D | stm32f4xx_sai.h | 157 #define IS_SAI_PERIPH(PERIPH) (((PERIPH) == SAI1) || (PERIPH) == SAI2) argument 159 #define IS_SAI_BLOCK_PERIPH(PERIPH) (((PERIPH) == SAI1_Block_A) || \ argument 160 ((PERIPH) == SAI1_Block_B) || \ 161 ((PERIPH) == SAI2_Block_A) || \ 162 ((PERIPH) == SAI2_Block_B)) 167 #define IS_SAI_PERIPH(PERIPH) ((PERIPH) == SAI1) argument 169 #define IS_SAI_BLOCK_PERIPH(PERIPH) (((PERIPH) == SAI1_Block_A) || \ argument 170 ((PERIPH) == SAI1_Block_B))
|
A D | stm32f4xx_gpio.h | 50 #define IS_GPIO_ALL_PERIPH(PERIPH) (((PERIPH) == GPIOA) || \ argument 51 ((PERIPH) == GPIOB) || \ 52 ((PERIPH) == GPIOC) || \ 53 ((PERIPH) == GPIOD) || \ 54 ((PERIPH) == GPIOE) || \ 55 ((PERIPH) == GPIOF) || \ 56 ((PERIPH) == GPIOG) || \ 57 ((PERIPH) == GPIOH) || \ 58 ((PERIPH) == GPIOI) || \ 59 ((PERIPH) == GPIOJ) || \ [all …]
|
A D | stm32f4xx_i2c.h | 81 #define IS_I2C_ALL_PERIPH(PERIPH) (((PERIPH) == I2C1) || \ argument 82 ((PERIPH) == I2C2) || \ 83 ((PERIPH) == I2C3))
|
/lk-master/external/platform/stm32f2xx/STM32F2xx_StdPeriph_Driver/inc/ |
A D | stm32f2xx_dbgmcu.h | 56 #define IS_DBGMCU_PERIPH(PERIPH) ((((PERIPH) & 0xFFFFFFF8) == 0x00) && ((PERIPH) != 0x00)) argument 75 #define IS_DBGMCU_APB1PERIPH(PERIPH) ((((PERIPH) & 0xF91FE200) == 0x00) && ((PERIPH) != 0x00)) argument 82 #define IS_DBGMCU_APB2PERIPH(PERIPH) ((((PERIPH) & 0xFFF8FFFC) == 0x00) && ((PERIPH) != 0x00)) argument
|
A D | stm32f2xx_tim.h | 175 #define IS_TIM_ALL_PERIPH(PERIPH) (((PERIPH) == TIM1) || \ argument 188 ((PERIPH) == TIM14))) 190 #define IS_TIM_LIST1_PERIPH(PERIPH) (((PERIPH) == TIM1) || \ argument 201 ((PERIPH) == TIM14)) 204 #define IS_TIM_LIST2_PERIPH(PERIPH) (((PERIPH) == TIM1) || \ argument 213 #define IS_TIM_LIST3_PERIPH(PERIPH) (((PERIPH) == TIM1) || \ argument 218 ((PERIPH) == TIM8)) 220 #define IS_TIM_LIST4_PERIPH(PERIPH) (((PERIPH) == TIM1) || \ argument 221 ((PERIPH) == TIM8)) 223 #define IS_TIM_LIST5_PERIPH(PERIPH) (((PERIPH) == TIM1) || \ argument [all …]
|
A D | stm32f2xx_rcc.h | 280 #define IS_RCC_AHB1_CLOCK_PERIPH(PERIPH) ((((PERIPH) & 0x819BEE00) == 0x00) && ((PERIPH) != 0x00)) argument 281 #define IS_RCC_AHB1_RESET_PERIPH(PERIPH) ((((PERIPH) & 0xDD9FEE00) == 0x00) && ((PERIPH) != 0x00)) argument 282 #define IS_RCC_AHB1_LPMODE_PERIPH(PERIPH) ((((PERIPH) & 0x81986E00) == 0x00) && ((PERIPH) != 0x00)) argument 295 #define IS_RCC_AHB2_PERIPH(PERIPH) ((((PERIPH) & 0xFFFFFF0E) == 0x00) && ((PERIPH) != 0x00)) argument 304 #define IS_RCC_AHB3_PERIPH(PERIPH) ((((PERIPH) & 0xFFFFFFFE) == 0x00) && ((PERIPH) != 0x00)) argument 335 #define IS_RCC_APB1_PERIPH(PERIPH) ((((PERIPH) & 0xC9013600) == 0x00) && ((PERIPH) != 0x00)) argument 357 #define IS_RCC_APB2_PERIPH(PERIPH) ((((PERIPH) & 0xFFF8A0CC) == 0x00) && ((PERIPH) != 0x00)) argument 358 #define IS_RCC_APB2_RESET_PERIPH(PERIPH) ((((PERIPH) & 0xFFF8A6CC) == 0x00) && ((PERIPH) != 0x00)) argument
|
A D | stm32f2xx_dma.h | 118 #define IS_DMA_ALL_PERIPH(PERIPH) (((PERIPH) == DMA1_Stream0) || \ argument 119 ((PERIPH) == DMA1_Stream1) || \ 120 ((PERIPH) == DMA1_Stream2) || \ 121 ((PERIPH) == DMA1_Stream3) || \ 122 ((PERIPH) == DMA1_Stream4) || \ 123 ((PERIPH) == DMA1_Stream5) || \ 124 ((PERIPH) == DMA1_Stream6) || \ 125 ((PERIPH) == DMA1_Stream7) || \ 126 ((PERIPH) == DMA2_Stream0) || \ 127 ((PERIPH) == DMA2_Stream1) || \ [all …]
|
A D | stm32f2xx_usart.h | 110 #define IS_USART_ALL_PERIPH(PERIPH) (((PERIPH) == USART1) || \ argument 111 ((PERIPH) == USART2) || \ 112 ((PERIPH) == USART3) || \ 113 ((PERIPH) == UART4) || \ 114 ((PERIPH) == UART5) || \ 115 ((PERIPH) == USART6)) 117 #define IS_USART_1236_PERIPH(PERIPH) (((PERIPH) == USART1) || \ argument 118 ((PERIPH) == USART2) || \ 119 ((PERIPH) == USART3) || \ 120 ((PERIPH) == USART6))
|
A D | stm32f2xx_gpio.h | 50 #define IS_GPIO_ALL_PERIPH(PERIPH) (((PERIPH) == GPIOA) || \ argument 51 ((PERIPH) == GPIOB) || \ 52 ((PERIPH) == GPIOC) || \ 53 ((PERIPH) == GPIOD) || \ 54 ((PERIPH) == GPIOE) || \ 55 ((PERIPH) == GPIOF) || \ 56 ((PERIPH) == GPIOG) || \ 57 ((PERIPH) == GPIOH) || \ 58 ((PERIPH) == GPIOI))
|
A D | stm32f2xx_spi.h | 119 #define IS_SPI_ALL_PERIPH(PERIPH) (((PERIPH) == SPI1) || \ argument 120 ((PERIPH) == SPI2) || \ 121 ((PERIPH) == SPI3)) 123 #define IS_SPI_23_PERIPH(PERIPH) (((PERIPH) == SPI2) || \ argument 124 ((PERIPH) == SPI3))
|
A D | stm32f2xx_i2c.h | 82 #define IS_I2C_ALL_PERIPH(PERIPH) (((PERIPH) == I2C1) || \ argument 83 ((PERIPH) == I2C2) || \ 84 ((PERIPH) == I2C3))
|