/hal_stm32-3.7.0/stm32cube/stm32u5xx/drivers/src/ |
D | stm32u5xx_hal_gpio.c | 203 uint32_t iocurrent; in HAL_GPIO_Init() local 220 iocurrent = (pGPIO_Init->Pin) & (1UL << position); in HAL_GPIO_Init() 225 if (iocurrent != 0U) in HAL_GPIO_Init() 327 tmp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() 330 tmp |= iocurrent; in HAL_GPIO_Init() 335 tmp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() 338 tmp |= iocurrent; in HAL_GPIO_Init() 344 tmp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() 347 tmp |= iocurrent; in HAL_GPIO_Init() 352 tmp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32f1xx/drivers/src/ |
D | stm32f1xx_hal_gpio.c | 182 uint32_t iocurrent; in HAL_GPIO_Init() local 200 iocurrent = (uint32_t)(GPIO_Init->Pin) & ioposition; in HAL_GPIO_Init() 202 if (iocurrent == ioposition) in HAL_GPIO_Init() 280 configregister = (iocurrent < GPIO_PIN_8) ? &GPIOx->CRL : &GPIOx->CRH; in HAL_GPIO_Init() 281 registeroffset = (iocurrent < GPIO_PIN_8) ? (position << 2u) : ((position - 8u) << 2u); in HAL_GPIO_Init() 301 SET_BIT(EXTI->RTSR, iocurrent); in HAL_GPIO_Init() 305 CLEAR_BIT(EXTI->RTSR, iocurrent); in HAL_GPIO_Init() 311 SET_BIT(EXTI->FTSR, iocurrent); in HAL_GPIO_Init() 315 CLEAR_BIT(EXTI->FTSR, iocurrent); in HAL_GPIO_Init() 321 SET_BIT(EXTI->EMR, iocurrent); in HAL_GPIO_Init() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32h5xx/drivers/src/ |
D | stm32h5xx_hal_gpio.c | 181 uint32_t iocurrent; in HAL_GPIO_Init() local 195 iocurrent = (pGPIO_Init->Pin) & (1UL << position); in HAL_GPIO_Init() 197 if (iocurrent != 0U) in HAL_GPIO_Init() 263 tmp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() 266 tmp |= iocurrent; in HAL_GPIO_Init() 271 tmp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() 274 tmp |= iocurrent; in HAL_GPIO_Init() 280 tmp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() 283 tmp |= iocurrent; in HAL_GPIO_Init() 288 tmp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32wlxx/drivers/src/ |
D | stm32wlxx_hal_gpio.c | 162 uint32_t iocurrent; in HAL_GPIO_Init() local 175 iocurrent = (GPIO_Init->Pin) & (1uL << position); in HAL_GPIO_Init() 177 if (iocurrent != 0x00u) in HAL_GPIO_Init() 238 temp &= ~(iocurrent); in HAL_GPIO_Init() 241 temp |= iocurrent; in HAL_GPIO_Init() 246 temp &= ~(iocurrent); in HAL_GPIO_Init() 249 temp |= iocurrent; in HAL_GPIO_Init() 259 temp &= ~(iocurrent); in HAL_GPIO_Init() 262 temp |= iocurrent; in HAL_GPIO_Init() 275 temp &= ~(iocurrent); in HAL_GPIO_Init() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32f2xx/drivers/src/ |
D | stm32f2xx_hal_gpio.c | 172 uint32_t iocurrent; in HAL_GPIO_Init() local 184 iocurrent = (GPIO_Init->Pin) & (1uL << position); in HAL_GPIO_Init() 186 if (iocurrent != 0x00u) in HAL_GPIO_Init() 252 temp &= ~(iocurrent); in HAL_GPIO_Init() 255 temp |= iocurrent; in HAL_GPIO_Init() 260 temp &= ~(iocurrent); in HAL_GPIO_Init() 263 temp |= iocurrent; in HAL_GPIO_Init() 268 temp &= ~(iocurrent); in HAL_GPIO_Init() 271 temp |= iocurrent; in HAL_GPIO_Init() 277 temp &= ~(iocurrent); in HAL_GPIO_Init() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32f0xx/drivers/src/ |
D | stm32f0xx_hal_gpio.c | 172 uint32_t iocurrent; in HAL_GPIO_Init() local 184 iocurrent = (GPIO_Init->Pin) & (1uL << position); in HAL_GPIO_Init() 186 if (iocurrent != 0x00u) in HAL_GPIO_Init() 254 temp &= ~(iocurrent); in HAL_GPIO_Init() 257 temp |= iocurrent; in HAL_GPIO_Init() 262 temp &= ~(iocurrent); in HAL_GPIO_Init() 265 temp |= iocurrent; in HAL_GPIO_Init() 271 temp &= ~(iocurrent); in HAL_GPIO_Init() 274 temp |= iocurrent; in HAL_GPIO_Init() 279 temp &= ~(iocurrent); in HAL_GPIO_Init() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32f3xx/drivers/src/ |
D | stm32f3xx_hal_gpio.c | 174 uint32_t iocurrent; in HAL_GPIO_Init() local 186 iocurrent = (GPIO_Init->Pin) & (1uL << position); in HAL_GPIO_Init() 188 if (iocurrent != 0x00u) in HAL_GPIO_Init() 256 temp &= ~(iocurrent); in HAL_GPIO_Init() 259 temp |= iocurrent; in HAL_GPIO_Init() 264 temp &= ~(iocurrent); in HAL_GPIO_Init() 267 temp |= iocurrent; in HAL_GPIO_Init() 272 temp &= ~(iocurrent); in HAL_GPIO_Init() 275 temp |= iocurrent; in HAL_GPIO_Init() 281 temp &= ~(iocurrent); in HAL_GPIO_Init() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32g4xx/drivers/src/ |
D | stm32g4xx_hal_gpio.c | 165 uint32_t iocurrent; in HAL_GPIO_Init() local 177 iocurrent = (GPIO_Init->Pin) & (1UL << position); in HAL_GPIO_Init() 179 if (iocurrent != 0x00u) in HAL_GPIO_Init() 247 temp &= ~(iocurrent); in HAL_GPIO_Init() 250 temp |= iocurrent; in HAL_GPIO_Init() 255 temp &= ~(iocurrent); in HAL_GPIO_Init() 258 temp |= iocurrent; in HAL_GPIO_Init() 263 temp &= ~(iocurrent); in HAL_GPIO_Init() 266 temp |= iocurrent; in HAL_GPIO_Init() 272 temp &= ~(iocurrent); in HAL_GPIO_Init() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32l0xx/drivers/src/ |
D | stm32l0xx_hal_gpio.c | 159 uint32_t iocurrent = 0x00U; in HAL_GPIO_Init() local 170 iocurrent = (GPIO_Init->Pin) & (1U << position); in HAL_GPIO_Init() 172 if (iocurrent) in HAL_GPIO_Init() 240 temp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() 243 temp |= iocurrent; in HAL_GPIO_Init() 248 temp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() 251 temp |= iocurrent; in HAL_GPIO_Init() 256 temp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() 259 temp |= iocurrent; in HAL_GPIO_Init() 265 temp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32g0xx/drivers/src/ |
D | stm32g0xx_hal_gpio.c | 165 uint32_t iocurrent; in HAL_GPIO_Init() local 177 iocurrent = (GPIO_Init->Pin) & (1uL << position); in HAL_GPIO_Init() 179 if (iocurrent != 0x00u) in HAL_GPIO_Init() 244 temp &= ~(iocurrent); in HAL_GPIO_Init() 247 temp |= iocurrent; in HAL_GPIO_Init() 252 temp &= ~(iocurrent); in HAL_GPIO_Init() 255 temp |= iocurrent; in HAL_GPIO_Init() 261 temp &= ~(iocurrent); in HAL_GPIO_Init() 264 temp |= iocurrent; in HAL_GPIO_Init() 269 temp &= ~(iocurrent); in HAL_GPIO_Init() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32f4xx/drivers/src/ |
D | stm32f4xx_hal_gpio.c | 168 uint32_t iocurrent = 0x00U; in HAL_GPIO_Init() local 182 iocurrent = (uint32_t)(GPIO_Init->Pin) & ioposition; in HAL_GPIO_Init() 184 if(iocurrent == ioposition) in HAL_GPIO_Init() 250 temp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() 253 temp |= iocurrent; in HAL_GPIO_Init() 258 temp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() 261 temp |= iocurrent; in HAL_GPIO_Init() 266 temp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() 269 temp |= iocurrent; in HAL_GPIO_Init() 275 temp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32f7xx/drivers/src/ |
D | stm32f7xx_hal_gpio.c | 166 uint32_t iocurrent = 0x00; in HAL_GPIO_Init() local 180 iocurrent = (uint32_t)(GPIO_Init->Pin) & ioposition; in HAL_GPIO_Init() 182 if (iocurrent == ioposition) in HAL_GPIO_Init() 248 temp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() 251 temp |= iocurrent; in HAL_GPIO_Init() 256 temp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() 259 temp |= iocurrent; in HAL_GPIO_Init() 264 temp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() 267 temp |= iocurrent; in HAL_GPIO_Init() 273 temp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32h7rsxx/drivers/src/ |
D | stm32h7rsxx_hal_gpio.c | 167 uint32_t iocurrent; in HAL_GPIO_Init() local 179 iocurrent = (GPIO_Init->Pin) & (1uL << position); in HAL_GPIO_Init() 181 if (iocurrent != 0x00u) in HAL_GPIO_Init() 246 temp &= ~(iocurrent); in HAL_GPIO_Init() 249 temp |= iocurrent; in HAL_GPIO_Init() 254 temp &= ~(iocurrent); in HAL_GPIO_Init() 257 temp |= iocurrent; in HAL_GPIO_Init() 263 temp &= ~(iocurrent); in HAL_GPIO_Init() 266 temp |= iocurrent; in HAL_GPIO_Init() 271 temp &= ~(iocurrent); in HAL_GPIO_Init() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32h7xx/drivers/src/ |
D | stm32h7xx_hal_gpio.c | 168 uint32_t iocurrent; in HAL_GPIO_Init() local 187 iocurrent = (GPIO_Init->Pin) & (1UL << position); in HAL_GPIO_Init() 189 if (iocurrent != 0x00U) in HAL_GPIO_Init() 257 temp &= ~(iocurrent); in HAL_GPIO_Init() 260 temp |= iocurrent; in HAL_GPIO_Init() 265 temp &= ~(iocurrent); in HAL_GPIO_Init() 268 temp |= iocurrent; in HAL_GPIO_Init() 273 temp &= ~(iocurrent); in HAL_GPIO_Init() 276 temp |= iocurrent; in HAL_GPIO_Init() 282 temp &= ~(iocurrent); in HAL_GPIO_Init() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32wbxx/drivers/src/ |
D | stm32wbxx_hal_gpio.c | 167 uint32_t iocurrent; in HAL_GPIO_Init() local 180 iocurrent = (GPIO_Init->Pin) & (1uL << position); in HAL_GPIO_Init() 182 if (iocurrent != 0x00u) in HAL_GPIO_Init() 243 temp &= ~(iocurrent); in HAL_GPIO_Init() 246 temp |= iocurrent; in HAL_GPIO_Init() 251 temp &= ~(iocurrent); in HAL_GPIO_Init() 254 temp |= iocurrent; in HAL_GPIO_Init() 260 temp &= ~(iocurrent); in HAL_GPIO_Init() 263 temp |= iocurrent; in HAL_GPIO_Init() 268 temp &= ~(iocurrent); in HAL_GPIO_Init() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32l1xx/drivers/src/ |
D | stm32l1xx_hal_gpio.c | 173 uint32_t iocurrent = 0x00; in HAL_GPIO_Init() local 185 iocurrent = (GPIO_Init->Pin) & (1U << position); in HAL_GPIO_Init() 187 if (iocurrent) in HAL_GPIO_Init() 256 CLEAR_BIT(temp, (uint32_t)iocurrent); in HAL_GPIO_Init() 259 SET_BIT(temp, iocurrent); in HAL_GPIO_Init() 264 CLEAR_BIT(temp, (uint32_t)iocurrent); in HAL_GPIO_Init() 267 SET_BIT(temp, iocurrent); in HAL_GPIO_Init() 272 CLEAR_BIT(temp, (uint32_t)iocurrent); in HAL_GPIO_Init() 275 SET_BIT(temp, iocurrent); in HAL_GPIO_Init() 281 CLEAR_BIT(temp, (uint32_t)iocurrent); in HAL_GPIO_Init() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32l4xx/drivers/src/ |
D | stm32l4xx_hal_gpio.c | 166 uint32_t iocurrent; in HAL_GPIO_Init() local 178 iocurrent = (GPIO_Init->Pin) & (1uL << position); in HAL_GPIO_Init() 180 if (iocurrent != 0x00u) in HAL_GPIO_Init() 262 temp &= ~(iocurrent); in HAL_GPIO_Init() 265 temp |= iocurrent; in HAL_GPIO_Init() 270 temp &= ~(iocurrent); in HAL_GPIO_Init() 273 temp |= iocurrent; in HAL_GPIO_Init() 279 temp &= ~(iocurrent); in HAL_GPIO_Init() 282 temp |= iocurrent; in HAL_GPIO_Init() 287 temp &= ~(iocurrent); in HAL_GPIO_Init() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32mp1xx/drivers/src/ |
D | stm32mp1xx_hal_gpio.c | 172 uint32_t iocurrent; in HAL_GPIO_Init() local 194 iocurrent = (uint32_t)(GPIO_Init->Pin) & ioposition; in HAL_GPIO_Init() 196 if(iocurrent == ioposition) in HAL_GPIO_Init() 254 temp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() 257 temp |= iocurrent; in HAL_GPIO_Init() 262 temp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() 265 temp |= iocurrent; in HAL_GPIO_Init() 271 temp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() 274 temp |= iocurrent; in HAL_GPIO_Init() 279 temp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32c0xx/drivers/src/ |
D | stm32c0xx_hal_gpio.c | 176 uint32_t iocurrent; in HAL_GPIO_Init() local 188 iocurrent = (pGPIO_Init->Pin) & (1UL << position); in HAL_GPIO_Init() 190 if (iocurrent != 0U) in HAL_GPIO_Init() 256 tmp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() 259 tmp |= iocurrent; in HAL_GPIO_Init() 264 tmp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() 267 tmp |= iocurrent; in HAL_GPIO_Init() 273 tmp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() 276 tmp |= iocurrent; in HAL_GPIO_Init() 281 tmp &= ~((uint32_t)iocurrent); in HAL_GPIO_Init() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32l5xx/drivers/src/ |
D | stm32l5xx_hal_gpio.c | 162 uint32_t iocurrent; in HAL_GPIO_Init() local 174 iocurrent = (GPIO_Init->Pin) & (1UL << position); in HAL_GPIO_Init() 176 if (iocurrent != 0U) in HAL_GPIO_Init() 241 temp &= ~(iocurrent); in HAL_GPIO_Init() 244 temp |= iocurrent; in HAL_GPIO_Init() 249 temp &= ~(iocurrent); in HAL_GPIO_Init() 252 temp |= iocurrent; in HAL_GPIO_Init() 258 temp &= ~(iocurrent); in HAL_GPIO_Init() 261 temp |= iocurrent; in HAL_GPIO_Init() 266 temp &= ~(iocurrent); in HAL_GPIO_Init() [all …]
|
/hal_stm32-3.7.0/stm32cube/stm32wbaxx/drivers/src/ |
D | stm32wbaxx_hal_gpio.c | 171 uint32_t iocurrent; in HAL_GPIO_Init() local 183 iocurrent = (GPIO_Init->Pin) & (1UL << position); in HAL_GPIO_Init() 185 if (iocurrent != 0x00U) in HAL_GPIO_Init() 250 temp &= ~(iocurrent); in HAL_GPIO_Init() 253 temp |= iocurrent; in HAL_GPIO_Init() 258 temp &= ~(iocurrent); in HAL_GPIO_Init() 261 temp |= iocurrent; in HAL_GPIO_Init() 267 temp &= ~(iocurrent); in HAL_GPIO_Init() 270 temp |= iocurrent; in HAL_GPIO_Init() 275 temp &= ~(iocurrent); in HAL_GPIO_Init() [all …]
|