| /bsp/nv32f100x/lib/src/ |
| A D | gpio.c | 287 GPIO_Pin = (GPIO_PinType)(GPIO_Pin - 32); in GPIO_BitRead() 373 GPIO_Pin = (GPIO_PinType)(GPIO_Pin - 32); in GPIO_PinInit() 459 GPIO_Pin = (GPIO_PinType)(GPIO_Pin - 32); in GPIO_PinInit() 486 GPIO_Pin = (GPIO_PinType)(GPIO_Pin - 64); in GPIO_PinInit() 517 switch (GPIO_Pin) in GPIO_PinInit() 592 GPIO_Pin = (GPIO_PinType)(GPIO_Pin - GPIO_PTE0); in GPIO_PinToggle() 601 GPIO_Pin = (GPIO_PinType)(GPIO_Pin - GPIO_PTI0); in GPIO_PinToggle() 632 GPIO_Pin = (GPIO_PinType)(GPIO_Pin - GPIO_PTE0); in GPIO_PinSet() 641 GPIO_Pin = (GPIO_PinType)(GPIO_Pin - GPIO_PTI0); in GPIO_PinSet() 672 GPIO_Pin = (GPIO_PinType)(GPIO_Pin - GPIO_PTE0); in GPIO_PinClear() [all …]
|
| /bsp/Vango/v85xx/Libraries/VangoV85xx_standard_peripheral/Source/ |
| A D | lib_gpio.c | 140 tmp &= GPIO_Pin; in GPIOBToF_ReadInputDataBit() 163 tmp &= GPIO_Pin; in GPIOA_ReadInputDataBit() 211 tmp &= GPIO_Pin; in GPIOBToF_ReadOutputDataBit() 233 tmp &= GPIO_Pin; in GPIOA_ReadOutputDataBit() 279 GPIOx->DAT |= GPIO_Pin; in GPIOBToF_SetBits() 295 GPIOx->DAT |= GPIO_Pin; in GPIOA_SetBits() 311 GPIOx->DAT &= ~GPIO_Pin; in GPIOBToF_ResetBits() 327 GPIOx->DAT &= ~GPIO_Pin; in GPIOA_ResetBits() 347 GPIOx->DAT |= GPIO_Pin; in GPIOBToF_WriteBit() 553 tmp |= GPIO_Pin; in GPIOA_NoDeg_Cmd() [all …]
|
| /bsp/Vango/v85xxp/Libraries/VangoV85xxP_standard_peripheral/Source/ |
| A D | lib_gpio.c | 54 tmp_reg1 &= ~InitStruct->GPIO_Pin; in GPIOBToF_Init() 56 tmp_reg2 &= ~InitStruct->GPIO_Pin; in GPIOBToF_Init() 134 if (GPIOx->STS & GPIO_Pin) in GPIOBToF_ReadInputDataBit() 152 if (GPIOx->STS & GPIO_Pin) in GPIOA_ReadInputDataBit() 196 if (GPIOx->DAT & GPIO_Pin) in GPIOBToF_ReadOutputDataBit() 214 if (GPIOx->DAT & GPIO_Pin) in GPIOA_ReadOutputDataBit() 279 GPIOx->DAT |= GPIO_Pin; in GPIOBToF_WriteBit() 283 GPIOx->DAT &= ~GPIO_Pin; in GPIOBToF_WriteBit() 304 GPIOx->DAT |= GPIO_Pin; in GPIOA_WriteBit() 308 GPIOx->DAT &= ~GPIO_Pin; in GPIOA_WriteBit() [all …]
|
| /bsp/yichip/yc3121-pos/Libraries/sdk/ |
| A D | yc_gpio.c | 14 _ASSERT(IS_GET_GPIO_PIN(GPIO_Pin)); in GPIO_Config() 20 if (GPIO_Pin & 1 << i) in GPIO_Config() 83 _ASSERT(IS_GET_GPIO_PIN(GPIO_Pin)); in GPIO_PullUpCmd() 89 if (GPIO_Pin & 1 << i) in GPIO_PullUpCmd() 113 _ASSERT(IS_GET_GPIO_PIN(GPIO_Pin)); in GPIO_ReadInputDataBit() 115 if (GPIO_IN(GPIOx) & GPIO_Pin) in GPIO_ReadInputDataBit() 135 _ASSERT(IS_GET_GPIO_PIN(GPIO_Pin)); in GPIO_ReadOutputDataBit() 137 if (GPIO_IN(GPIOx) & GPIO_Pin) in GPIO_ReadOutputDataBit() 157 if (GPIO_Pin & 1 << i) in GPIO_ResetBits() 176 if (GPIO_Pin & 1 << i) in GPIO_SetBits() [all …]
|
| /bsp/tkm32F499/Libraries/Hal_lib/src/ |
| A D | HAL_gpio.c | 226 GPIO_InitStruct->GPIO_Pin = GPIO_InitStruct->GPIO_Pin>>16; in GPIO_Init() 363 assert_param(IS_GPIO_PIN(GPIO_Pin)); in GPIO_SetBits() 364 if(GPIO_Pin>GPIO_Pin_15)GPIOE->BSRR_EXT=GPIO_Pin>>16; in GPIO_SetBits() 366 GPIOx->BSRR = GPIO_Pin; in GPIO_SetBits() 383 GPIOx->BRR = GPIO_Pin; in GPIO_ResetBits() 406 GPIOx->BSRR = GPIO_Pin; in GPIO_WriteBit() 410 GPIOx->BRR = GPIO_Pin; in GPIO_WriteBit() 445 tmp |= GPIO_Pin; in GPIO_PinLockConfig() 449 GPIOx->LCKR = GPIO_Pin; in GPIO_PinLockConfig() 498 temp = GPIO_Pin>>16; in GPIO_PinAFConfig() [all …]
|
| /bsp/yichip/yc3122-pos/Libraries/sdk/ |
| A D | yc_gpio.c | 58 _ASSERT(IS_GPIO_PIN_SINGLE(GPIO_Pin)); in GPIO_Config() 97 _ASSERT(IS_GPIO_PIN(GPIO_Pin)); in GPIO_PullUpCmd() 140 _ASSERT(IS_GPIO_PIN_SINGLE(GPIO_Pin)); in GPIO_ReadInputDataBit() 204 _ASSERT(IS_GPIO_PIN(GPIO_Pin)); in GPIO_ResetBits() 207 if(GPIO_Pin & (BIT0<<i)) in GPIO_ResetBits() 238 _ASSERT(IS_GPIO_PIN(GPIO_Pin)); in GPIO_SetBits() 241 if(GPIO_Pin & (BIT0<<i)) in GPIO_SetBits() 258 _ASSERT(IS_GPIO_PIN(GPIO_Pin)); in GPIO_Write() 259 GPIO_SetBits(GPIOx, GPIO_Pin); in GPIO_Write() 277 GPIO_SetBit(GPIOx, GPIO_Pin); in GPIO_WriteBit() [all …]
|
| /bsp/mm32l07x/Libraries/MM32L0xx/HAL_lib/src/ |
| A D | HAL_gpio.c | 194 if (GPIO_InitStruct->GPIO_Pin > 0x00FF) in GPIO_Init() 329 assert_param(IS_GPIO_PIN(GPIO_Pin)); in GPIO_SetBits() 331 GPIOx->BSRR = GPIO_Pin; in GPIO_SetBits() 346 assert_param(IS_GPIO_PIN(GPIO_Pin)); in GPIO_ResetBits() 348 GPIOx->BRR = GPIO_Pin; in GPIO_ResetBits() 366 assert_param(IS_GET_GPIO_PIN(GPIO_Pin)); in GPIO_WriteBit() 371 GPIOx->BSRR = GPIO_Pin; in GPIO_WriteBit() 375 GPIOx->BRR = GPIO_Pin; in GPIO_WriteBit() 408 assert_param(IS_GPIO_PIN(GPIO_Pin)); in GPIO_PinLockConfig() 410 tmp |= GPIO_Pin; in GPIO_PinLockConfig() [all …]
|
| /bsp/wch/arm/ch32f203r-evt/board/ |
| A D | board.c | 38 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9; in ch32f2_usart_clock_and_io_init() 42 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10; in ch32f2_usart_clock_and_io_init() 54 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_2; in ch32f2_usart_clock_and_io_init() 58 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_3; in ch32f2_usart_clock_and_io_init() 70 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10; in ch32f2_usart_clock_and_io_init() 74 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_11; in ch32f2_usart_clock_and_io_init() 87 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10; in ch32f2_usart_clock_and_io_init() 91 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_11; in ch32f2_usart_clock_and_io_init() 108 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_2; in ch32f2_usart_clock_and_io_init() 120 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0; in ch32f2_usart_clock_and_io_init() [all …]
|
| /bsp/hk32/libraries/HK32F0xx_StdPeriph_Driver/src/ |
| A D | hk32f0xx_gpio.c | 217 assert_param(IS_GPIO_PIN(GPIO_Pin)); in GPIO_PinLockConfig() 219 tmp |= GPIO_Pin; in GPIO_PinLockConfig() 223 GPIOx->LCKR = GPIO_Pin; in GPIO_PinLockConfig() 264 assert_param(IS_GET_GPIO_PIN(GPIO_Pin)); in GPIO_ReadInputDataBit() 307 assert_param(IS_GET_GPIO_PIN(GPIO_Pin)); in GPIO_ReadOutputDataBit() 348 assert_param(IS_GPIO_PIN(GPIO_Pin)); in GPIO_SetBits() 350 GPIOx->BSRR = GPIO_Pin; in GPIO_SetBits() 367 assert_param(IS_GPIO_PIN(GPIO_Pin)); in GPIO_ResetBits() 369 GPIOx->BRR = GPIO_Pin; in GPIO_ResetBits() 395 GPIOx->BSRR = GPIO_Pin; in GPIO_WriteBit() [all …]
|
| /bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Src/ |
| A D | stm32l1xx_hal_gpio.c | 309 assert_param(IS_GPIO_PIN(GPIO_Pin)); in HAL_GPIO_DeInit() 312 while ((GPIO_Pin >> position) != 0) in HAL_GPIO_DeInit() 386 assert_param(IS_GPIO_PIN(GPIO_Pin)); in HAL_GPIO_ReadPin() 416 assert_param(IS_GPIO_PIN(GPIO_Pin)); in HAL_GPIO_WritePin() 421 GPIOx->BSRR = (uint32_t)GPIO_Pin; in HAL_GPIO_WritePin() 440 assert_param(IS_GPIO_PIN(GPIO_Pin)); in HAL_GPIO_TogglePin() 446 GPIOx->BSRR = ((odr & GPIO_Pin) << GPIO_NUMBER) | (~odr & GPIO_Pin); in HAL_GPIO_TogglePin() 478 SET_BIT(tmp, GPIO_Pin); in HAL_GPIO_LockPin() 482 GPIOx->LCKR = GPIO_Pin; in HAL_GPIO_LockPin() 510 HAL_GPIO_EXTI_Callback(GPIO_Pin); in HAL_GPIO_EXTI_IRQHandler() [all …]
|
| /bsp/ft32/libraries/FT32F0xx/FT32F0xx_Driver/Src/ |
| A D | ft32f0xx_gpio.c | 156 assert_param(IS_GPIO_PIN(GPIO_Pin)); in GPIO_PinLockConfig() 158 tmp |= GPIO_Pin; in GPIO_PinLockConfig() 162 GPIOx->LCKR = GPIO_Pin; in GPIO_PinLockConfig() 190 assert_param(IS_GET_GPIO_PIN(GPIO_Pin)); in GPIO_ReadInputDataBit() 230 assert_param(IS_GET_GPIO_PIN(GPIO_Pin)); in GPIO_ReadOutputDataBit() 268 assert_param(IS_GPIO_PIN(GPIO_Pin)); in GPIO_SetBits() 270 GPIOx->BSRR = GPIO_Pin; in GPIO_SetBits() 285 assert_param(IS_GPIO_PIN(GPIO_Pin)); in GPIO_ResetBits() 287 GPIOx->BRR = GPIO_Pin; in GPIO_ResetBits() 311 GPIOx->BSRR = GPIO_Pin; in GPIO_WriteBit() [all …]
|
| /bsp/airm2m/air32f103/libraries/AIR32F10xLib/src/ |
| A D | air32f10x_gpio.c | 213 if (GPIO_InitStruct->GPIO_Pin > 0x00FF) in GPIO_Init() 347 assert_param(IS_GPIO_PIN(GPIO_Pin)); in GPIO_SetBits() 349 GPIOx->BSRR = GPIO_Pin; in GPIO_SetBits() 363 assert_param(IS_GPIO_PIN(GPIO_Pin)); in GPIO_ResetBits() 365 GPIOx->BRR = GPIO_Pin; in GPIO_ResetBits() 388 GPIOx->BSRR = GPIO_Pin; in GPIO_WriteBit() 392 GPIOx->BRR = GPIO_Pin; in GPIO_WriteBit() 423 assert_param(IS_GPIO_PIN(GPIO_Pin)); in GPIO_PinLockConfig() 425 tmp |= GPIO_Pin; in GPIO_PinLockConfig() 429 GPIOx->LCKR = GPIO_Pin; in GPIO_PinLockConfig() [all …]
|
| /bsp/mm32l3xx/Libraries/MM32L3xx/HAL_lib/src/ |
| A D | HAL_gpio.c | 206 if (GPIO_InitStruct->GPIO_Pin > 0x00FF) in GPIO_Init() 341 assert_param(IS_GPIO_PIN(GPIO_Pin)); in GPIO_SetBits() 343 GPIOx->BSRR = GPIO_Pin; in GPIO_SetBits() 358 assert_param(IS_GPIO_PIN(GPIO_Pin)); in GPIO_ResetBits() 360 GPIOx->BRR = GPIO_Pin; in GPIO_ResetBits() 378 assert_param(IS_GET_GPIO_PIN(GPIO_Pin)); in GPIO_WriteBit() 383 GPIOx->BSRR = GPIO_Pin; in GPIO_WriteBit() 387 GPIOx->BRR = GPIO_Pin; in GPIO_WriteBit() 420 assert_param(IS_GPIO_PIN(GPIO_Pin)); in GPIO_PinLockConfig() 422 tmp |= GPIO_Pin; in GPIO_PinLockConfig() [all …]
|
| /bsp/mm32f103x/Libraries/MM32F103/HAL_lib/src/ |
| A D | HAL_gpio.c | 206 if (GPIO_InitStruct->GPIO_Pin > 0x00FF) in GPIO_Init() 265 assert_param(IS_GET_GPIO_PIN(GPIO_Pin)); in GPIO_ReadInputDataBit() 341 assert_param(IS_GPIO_PIN(GPIO_Pin)); in GPIO_SetBits() 343 GPIOx->BSRR = GPIO_Pin; in GPIO_SetBits() 358 assert_param(IS_GPIO_PIN(GPIO_Pin)); in GPIO_ResetBits() 360 GPIOx->BRR = GPIO_Pin; in GPIO_ResetBits() 383 GPIOx->BSRR = GPIO_Pin; in GPIO_WriteBit() 387 GPIOx->BRR = GPIO_Pin; in GPIO_WriteBit() 420 assert_param(IS_GPIO_PIN(GPIO_Pin)); in GPIO_PinLockConfig() 422 tmp |= GPIO_Pin; in GPIO_PinLockConfig() [all …]
|
| /bsp/wch/arm/ch32f103c8-core/board/ |
| A D | board.c | 38 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9; in ch32f1_usart_clock_and_io_init() 42 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10; in ch32f1_usart_clock_and_io_init() 54 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_2; in ch32f1_usart_clock_and_io_init() 58 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_3; in ch32f1_usart_clock_and_io_init() 70 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10; in ch32f1_usart_clock_and_io_init() 74 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_11; in ch32f1_usart_clock_and_io_init() 94 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_4; in ch32f1_spi_clock_and_io_init() 100 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_6; in ch32f1_spi_clock_and_io_init() 110 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_12; in ch32f1_spi_clock_and_io_init() 116 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_14; in ch32f1_spi_clock_and_io_init() [all …]
|
| /bsp/tae32f5300/Libraries/TAE32F53xx_StdPeriph_Driver/src/ |
| A D | tae32f53xx_ll_gpio.c | 179 assert_param(IS_GPIO_PIN(GPIO_Pin)); in LL_GPIO_DeInit() 182 while ((GPIO_Pin >> position) != 0x00U) { in LL_GPIO_DeInit() 260 assert_param(IS_GPIO_PIN(GPIO_Pin)); in LL_GPIO_AF_Config() 263 while (((GPIO_Pin) >> position) != 0x00U) { in LL_GPIO_AF_Config() 313 assert_param(IS_GPIO_PIN(GPIO_Pin)); in LL_GPIO_ReadPin() 338 assert_param(IS_GPIO_PIN(GPIO_Pin)); in LL_GPIO_WritePin() 341 GPIOx->BSRR = GPIO_Pin; in LL_GPIO_WritePin() 343 GPIOx->BSRR = (uint32_t)GPIO_Pin << 16U; in LL_GPIO_WritePin() 357 assert_param(IS_GPIO_PIN(GPIO_Pin)); in LL_GPIO_TogglePin() 359 GPIOx->DR ^= (GPIO_Pin & GPIO_PIN_All); in LL_GPIO_TogglePin() [all …]
|
| /bsp/airm2m/air32f103/board/ |
| A D | board.c | 52 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9; in air32_usart_clock_and_io_init() 56 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10; in air32_usart_clock_and_io_init() 66 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_2; in air32_usart_clock_and_io_init() 70 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_3; in air32_usart_clock_and_io_init() 81 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10; in air32_usart_clock_and_io_init() 85 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_11; in air32_usart_clock_and_io_init() 250 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_8; in air32_pwm_io_init() 257 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9; in air32_pwm_io_init() 284 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0; in air32_pwm_io_init() 291 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_1; in air32_pwm_io_init() [all …]
|
| /bsp/wch/risc-v/Libraries/CH32V10x_StdPeriph_Driver/StdPeriph_Driver/src/ |
| A D | ch32v10x_gpio.c | 141 if(GPIO_InitStruct->GPIO_Pin > 0x00FF) in GPIO_Init() 184 GPIO_InitStruct->GPIO_Pin = GPIO_Pin_All; in GPIO_StructInit() 203 if((GPIOx->INDR & GPIO_Pin) != (uint32_t)Bit_RESET) in GPIO_ReadInputDataBit() 244 if((GPIOx->OUTDR & GPIO_Pin) != (uint32_t)Bit_RESET) in GPIO_ReadOutputDataBit() 281 void GPIO_SetBits(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin) in GPIO_SetBits() argument 283 GPIOx->BSHR = GPIO_Pin; in GPIO_SetBits() 299 GPIOx->BCR = GPIO_Pin; in GPIO_ResetBits() 319 GPIOx->BSHR = GPIO_Pin; in GPIO_WriteBit() 323 GPIOx->BCR = GPIO_Pin; in GPIO_WriteBit() 357 tmp |= GPIO_Pin; in GPIO_PinLockConfig() [all …]
|
| /bsp/wch/arm/Libraries/CH32F20x_StdPeriph_Driver/StdPeriph_Driver/src/ |
| A D | ch32f20x_gpio.c | 106 currentpin = (GPIO_InitStruct->GPIO_Pin) & pos; in GPIO_Init() 131 if (GPIO_InitStruct->GPIO_Pin > 0x00FF) in GPIO_Init() 138 currentpin = ((GPIO_InitStruct->GPIO_Pin) & pos); in GPIO_Init() 171 GPIO_InitStruct->GPIO_Pin = GPIO_Pin_All; in GPIO_StructInit() 187 if ((GPIOx->INDR & GPIO_Pin) != (uint32_t)Bit_RESET) in GPIO_ReadInputDataBit() 255 GPIOx->BSHR = GPIO_Pin; in GPIO_SetBits() 268 GPIOx->BCR = GPIO_Pin; in GPIO_ResetBits() 285 GPIOx->BSHR = GPIO_Pin; in GPIO_WriteBit() 289 GPIOx->BCR = GPIO_Pin; in GPIO_WriteBit() 317 tmp |= GPIO_Pin; in GPIO_PinLockConfig() [all …]
|
| /bsp/wch/arm/Libraries/CH32F10x_StdPeriph_Driver/StdPeriph_Driver/src/ |
| A D | ch32f10x_gpio.c | 123 currentpin = (GPIO_InitStruct->GPIO_Pin) & pos; in GPIO_Init() 148 if (GPIO_InitStruct->GPIO_Pin > 0x00FF) in GPIO_Init() 155 currentpin = ((GPIO_InitStruct->GPIO_Pin) & pos); in GPIO_Init() 188 GPIO_InitStruct->GPIO_Pin = GPIO_Pin_All; in GPIO_StructInit() 204 if ((GPIOx->INDR & GPIO_Pin) != (uint32_t)Bit_RESET) in GPIO_ReadInputDataBit() 272 GPIOx->BSHR = GPIO_Pin; in GPIO_SetBits() 285 GPIOx->BCR = GPIO_Pin; in GPIO_ResetBits() 302 GPIOx->BSHR = GPIO_Pin; in GPIO_WriteBit() 306 GPIOx->BCR = GPIO_Pin; in GPIO_WriteBit() 334 tmp |= GPIO_Pin; in GPIO_PinLockConfig() [all …]
|
| /bsp/hk32/hk32f030c8-mini/board/msp/ |
| A D | hk32_msp.c | 33 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_9; in hk32_msp_usart_init() 39 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_10; in hk32_msp_usart_init() 51 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_6; in hk32_msp_usart_init() 57 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_7; in hk32_msp_usart_init() 73 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_2; in hk32_msp_usart_init() 79 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_3; in hk32_msp_usart_init() 106 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_6; in hk32_msp_i2c_init() 112 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_6; in hk32_msp_i2c_init() 124 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_8; in hk32_msp_i2c_init() 130 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_9; in hk32_msp_i2c_init() [all …]
|
| A D | hk32_msp.c.orig | 33 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_9; 39 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_10; 51 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_6; 57 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_7; 73 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_2; 79 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_3; 106 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_6; 112 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_6; 124 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_8; 130 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_9; [all …]
|
| /bsp/wch/risc-v/Libraries/ch32_drivers/ |
| A D | drv_pwm.c | 109 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_8; in ch32_pwm_io_init() 119 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9; in ch32_pwm_io_init() 129 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10; in ch32_pwm_io_init() 139 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_11; in ch32_pwm_io_init() 156 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_0; in ch32_pwm_io_init() 166 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_1; in ch32_pwm_io_init() 176 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_2; in ch32_pwm_io_init() 186 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_3; in ch32_pwm_io_init() 204 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_6; in ch32_pwm_io_init() 214 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_7; in ch32_pwm_io_init() [all …]
|
| /bsp/Vango/v85xx/Libraries/VangoV85xx_standard_peripheral/Include/ |
| A D | lib_gpio.h | 24 uint32_t GPIO_Pin; member 137 uint8_t GPIOBToF_ReadInputDataBit(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin); 138 uint8_t GPIOA_ReadInputDataBit(GPIOA_TypeDef *GPIOx, uint16_t GPIO_Pin); 143 uint8_t GPIOBToF_ReadOutputDataBit(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin); 144 uint8_t GPIOA_ReadOutputDataBit(GPIOA_TypeDef* GPIOx, uint16_t GPIO_Pin); 149 void GPIOBToF_SetBits(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin); 150 void GPIOA_SetBits(GPIOA_TypeDef* GPIOx, uint16_t GPIO_Pin); 151 void GPIOBToF_ResetBits(GPIO_TypeDef* GPIOx, uint16_t GPIO_Pin); 152 void GPIOA_ResetBits(GPIOA_TypeDef* GPIOx, uint16_t GPIO_Pin); 154 void GPIOA_WriteBit(GPIOA_TypeDef* GPIOx, uint16_t GPIO_Pin, uint8_t val); [all …]
|
| /bsp/mm32f526x/board/ |
| A D | mm32_msp.c | 28 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_9; in mm32_msp_uart_init() 32 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10; in mm32_msp_uart_init() 48 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_2; in mm32_msp_uart_init() 52 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_3; in mm32_msp_uart_init() 69 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_10; in mm32_msp_uart_init() 73 GPIO_InitStructure.GPIO_Pin = GPIO_Pin_11; in mm32_msp_uart_init() 98 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_0 | GPIO_Pin_1; in mm32_msp_adc_init() 113 GPIO_InitStruct.GPIO_Pin = GPIO_Pin_0 | GPIO_Pin_1; in mm32_msp_adc_init()
|