Home
last modified time | relevance | path

Searched refs:currentpin (Results 1 – 15 of 15) sorted by relevance

/bsp/stm32/libraries/STM32L1xx_HAL/STM32L1xx_HAL_Driver/Src/
A Dstm32l1xx_ll_gpio.c182 uint32_t currentpin = 0x00000000U; in LL_GPIO_Init() local
198 currentpin = (GPIO_InitStruct->Pin) & (0x00000001U << pinpos); in LL_GPIO_Init()
200 if (currentpin) in LL_GPIO_Init()
209 LL_GPIO_SetPinSpeed(GPIOx, currentpin, GPIO_InitStruct->Speed); in LL_GPIO_Init()
215 LL_GPIO_SetPinOutputType(GPIOx, currentpin, GPIO_InitStruct->OutputType); in LL_GPIO_Init()
219 LL_GPIO_SetPinPull(GPIOx, currentpin, GPIO_InitStruct->Pull); in LL_GPIO_Init()
227 if (POSITION_VAL(currentpin) < 0x00000008U) in LL_GPIO_Init()
229 LL_GPIO_SetAFPin_0_7(GPIOx, currentpin, GPIO_InitStruct->Alternate); in LL_GPIO_Init()
233 LL_GPIO_SetAFPin_8_15(GPIOx, currentpin, GPIO_InitStruct->Alternate); in LL_GPIO_Init()
238 LL_GPIO_SetPinMode(GPIOx, currentpin, GPIO_InitStruct->Mode); in LL_GPIO_Init()
/bsp/tkm32F499/Libraries/Hal_lib/src/
A DHAL_gpio.c140 uint32_t currentmode = 0x00, currentpin = 0x00, pinpos = 0x00, pos = 0x00; in GPIO_Init() local
165 currentpin = (GPIO_InitStruct->GPIO_Pin) & pos; in GPIO_Init()
166 if (currentpin == pos) in GPIO_Init()
200 currentpin = ((GPIO_InitStruct->GPIO_Pin) & pos); in GPIO_Init()
201 if (currentpin == pos) in GPIO_Init()
232 currentpin = (GPIO_InitStruct->GPIO_Pin) & pos; in GPIO_Init()
233 if (currentpin == pos) in GPIO_Init()
/bsp/mm32l07x/Libraries/MM32L0xx/HAL_lib/src/
A DHAL_gpio.c141 uint32_t currentmode = 0x00, currentpin = 0x00, pinpos = 0x00, pos = 0x00; in GPIO_Init() local
166 currentpin = (GPIO_InitStruct->GPIO_Pin) & pos; in GPIO_Init()
167 if (currentpin == pos) in GPIO_Init()
201 currentpin = ((GPIO_InitStruct->GPIO_Pin) & pos); in GPIO_Init()
202 if (currentpin == pos) in GPIO_Init()
/bsp/wch/risc-v/Libraries/CH32V10x_StdPeriph_Driver/StdPeriph_Driver/src/
A Dch32v10x_gpio.c99 uint32_t currentmode = 0x00, currentpin = 0x00, pinpos = 0x00, pos = 0x00; in GPIO_Init() local
116 currentpin = (GPIO_InitStruct->GPIO_Pin) & pos; in GPIO_Init()
118 if(currentpin == pos) in GPIO_Init()
148 currentpin = ((GPIO_InitStruct->GPIO_Pin) & pos); in GPIO_Init()
150 if(currentpin == pos) in GPIO_Init()
/bsp/wch/arm/Libraries/CH32F20x_StdPeriph_Driver/StdPeriph_Driver/src/
A Dch32f20x_gpio.c89 uint32_t currentmode = 0x00, currentpin = 0x00, pinpos = 0x00, pos = 0x00; in GPIO_Init() local
106 currentpin = (GPIO_InitStruct->GPIO_Pin) & pos; in GPIO_Init()
108 if (currentpin == pos) in GPIO_Init()
138 currentpin = ((GPIO_InitStruct->GPIO_Pin) & pos); in GPIO_Init()
140 if (currentpin == pos) in GPIO_Init()
/bsp/wch/arm/Libraries/CH32F10x_StdPeriph_Driver/StdPeriph_Driver/src/
A Dch32f10x_gpio.c106 uint32_t currentmode = 0x00, currentpin = 0x00, pinpos = 0x00, pos = 0x00; in GPIO_Init() local
123 currentpin = (GPIO_InitStruct->GPIO_Pin) & pos; in GPIO_Init()
125 if (currentpin == pos) in GPIO_Init()
155 currentpin = ((GPIO_InitStruct->GPIO_Pin) & pos); in GPIO_Init()
157 if (currentpin == pos) in GPIO_Init()
/bsp/mm32l3xx/Libraries/MM32L3xx/HAL_lib/src/
A DHAL_gpio.c153 uint32_t currentmode = 0x00, currentpin = 0x00, pinpos = 0x00, pos = 0x00; in GPIO_Init() local
178 currentpin = (GPIO_InitStruct->GPIO_Pin) & pos; in GPIO_Init()
179 if (currentpin == pos) in GPIO_Init()
213 currentpin = ((GPIO_InitStruct->GPIO_Pin) & pos); in GPIO_Init()
214 if (currentpin == pos) in GPIO_Init()
/bsp/mm32f103x/Libraries/MM32F103/HAL_lib/src/
A DHAL_gpio.c153 uint32_t currentmode = 0x00, currentpin = 0x00, pinpos = 0x00, pos = 0x00; in GPIO_Init() local
178 currentpin = (GPIO_InitStruct->GPIO_Pin) & pos; in GPIO_Init()
179 if (currentpin == pos) in GPIO_Init()
213 currentpin = ((GPIO_InitStruct->GPIO_Pin) & pos); in GPIO_Init()
214 if (currentpin == pos) in GPIO_Init()
/bsp/airm2m/air32f103/libraries/AIR32F10xLib/src/
A Dair32f10x_gpio.c160 uint32_t currentmode = 0x00, currentpin = 0x00, pinpos = 0x00, pos = 0x00; in GPIO_Init() local
185 currentpin = (GPIO_InitStruct->GPIO_Pin) & pos; in GPIO_Init()
186 if (currentpin == pos) in GPIO_Init()
220 currentpin = ((GPIO_InitStruct->GPIO_Pin) & pos); in GPIO_Init()
221 if (currentpin == pos) in GPIO_Init()
/bsp/n32/libraries/N32G4FR_Firmware_Library/n32g4fr_std_periph_driver/src/
A Dn32g4fr_gpio.c177 uint32_t currentmode = 0x00, currentpin = 0x00, pinpos = 0x00, pos = 0x00; in GPIO_InitPeripheral() local
202 currentpin = (GPIO_InitStruct->Pin) & pos; in GPIO_InitPeripheral()
203 if (currentpin == pos) in GPIO_InitPeripheral()
237 currentpin = ((GPIO_InitStruct->Pin) & pos); in GPIO_InitPeripheral()
238 if (currentpin == pos) in GPIO_InitPeripheral()
/bsp/n32/libraries/N32WB452_Firmware_Library/n32wb452_std_periph_driver/src/
A Dn32wb452_gpio.c177 uint32_t currentmode = 0x00, currentpin = 0x00, pinpos = 0x00, pos = 0x00; in GPIO_InitPeripheral() local
202 currentpin = (GPIO_InitStruct->Pin) & pos; in GPIO_InitPeripheral()
203 if (currentpin == pos) in GPIO_InitPeripheral()
237 currentpin = ((GPIO_InitStruct->Pin) & pos); in GPIO_InitPeripheral()
238 if (currentpin == pos) in GPIO_InitPeripheral()
/bsp/hk32/libraries/HK32F0xx_StdPeriph_Driver/src/
A Dhk32f0xx_gpio.c137 uint32_t pinpos = 0x00, pos = 0x00, currentpin = 0x00; in GPIO_Init() local
152 currentpin = (GPIO_InitStruct->GPIO_Pin) & pos; in GPIO_Init()
154 if (currentpin == pos) in GPIO_Init()
/bsp/n32/libraries/N32G45x_Firmware_Library/n32g45x_std_periph_driver/src/
A Dn32g45x_gpio.c187 uint32_t currentmode = 0x00, currentpin = 0x00, pinpos = 0x00, pos = 0x00; in GPIO_InitPeripheral() local
212 currentpin = (GPIO_InitStruct->Pin) & pos; in GPIO_InitPeripheral()
213 if (currentpin == pos) in GPIO_InitPeripheral()
247 currentpin = ((GPIO_InitStruct->Pin) & pos); in GPIO_InitPeripheral()
248 if (currentpin == pos) in GPIO_InitPeripheral()
/bsp/n32g452xx/Libraries/N32_Std_Driver/n32g45x_std_periph_driver/src/
A Dn32g45x_gpio.c187 uint32_t currentmode = 0x00, currentpin = 0x00, pinpos = 0x00, pos = 0x00; in GPIO_InitPeripheral() local
212 currentpin = (GPIO_InitStruct->Pin) & pos; in GPIO_InitPeripheral()
213 if (currentpin == pos) in GPIO_InitPeripheral()
247 currentpin = ((GPIO_InitStruct->Pin) & pos); in GPIO_InitPeripheral()
248 if (currentpin == pos) in GPIO_InitPeripheral()
/bsp/ft32/libraries/FT32F0xx/FT32F0xx_Driver/Src/
A Dft32f0xx_gpio.c76 uint32_t pinpos = 0x00, pos = 0x00 , currentpin = 0x00; in GPIO_Init() local
91 currentpin = (GPIO_InitStruct->GPIO_Pin) & pos; in GPIO_Init()
93 if (currentpin == pos) in GPIO_Init()

Completed in 50 milliseconds