Lines Matching refs:GPIO_InitStruct
163 GPIO_InitTypeDef GPIO_InitStruct; in HAL_SPI_MspInit() local
175 GPIO_InitStruct.Pin = GPIO_PIN_3; in HAL_SPI_MspInit()
176 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; in HAL_SPI_MspInit()
177 GPIO_InitStruct.Pull = GPIO_PULLDOWN; in HAL_SPI_MspInit()
178 GPIO_InitStruct.Speed = GPIO_SPEED_HIGH; in HAL_SPI_MspInit()
179 GPIO_InitStruct.Alternate = GPIO_AF5_SPI2; in HAL_SPI_MspInit()
180 HAL_GPIO_Init(GPIOD, &GPIO_InitStruct); in HAL_SPI_MspInit()
183 GPIO_InitStruct.Pin = GPIO_PIN_15; in HAL_SPI_MspInit()
184 HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); in HAL_SPI_MspInit()
186 GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; in HAL_SPI_MspInit()
187 GPIO_InitStruct.Pull = GPIO_NOPULL; in HAL_SPI_MspInit()
190 GPIO_InitStruct.Pin = GPIO_PIN_6; in HAL_SPI_MspInit()
191 HAL_GPIO_Init(GPIOK, &GPIO_InitStruct); in HAL_SPI_MspInit()
194 GPIO_InitStruct.Pin = GPIO_PIN_12; in HAL_SPI_MspInit()
195 HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); in HAL_SPI_MspInit()
301 GPIO_InitTypeDef GPIO_InitStruct; in HAL_QSPI_MspInit() local
311 GPIO_InitStruct.Pin = GPIO_PIN_6; in HAL_QSPI_MspInit()
312 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; in HAL_QSPI_MspInit()
313 GPIO_InitStruct.Pull = GPIO_PULLUP; in HAL_QSPI_MspInit()
314 GPIO_InitStruct.Speed = GPIO_SPEED_HIGH; in HAL_QSPI_MspInit()
315 GPIO_InitStruct.Alternate = GPIO_AF10_QUADSPI; in HAL_QSPI_MspInit()
316 HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); in HAL_QSPI_MspInit()
319 GPIO_InitStruct.Pin = GPIO_PIN_2; in HAL_QSPI_MspInit()
320 GPIO_InitStruct.Pull = GPIO_NOPULL; in HAL_QSPI_MspInit()
321 GPIO_InitStruct.Alternate = GPIO_AF9_QUADSPI; in HAL_QSPI_MspInit()
322 HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); in HAL_QSPI_MspInit()
325 GPIO_InitStruct.Pin = GPIO_PIN_11; in HAL_QSPI_MspInit()
326 GPIO_InitStruct.Alternate = GPIO_AF9_QUADSPI; in HAL_QSPI_MspInit()
327 HAL_GPIO_Init(GPIOD, &GPIO_InitStruct); in HAL_QSPI_MspInit()
330 GPIO_InitStruct.Pin = GPIO_PIN_12; in HAL_QSPI_MspInit()
331 GPIO_InitStruct.Alternate = GPIO_AF9_QUADSPI; in HAL_QSPI_MspInit()
332 HAL_GPIO_Init(GPIOD, &GPIO_InitStruct); in HAL_QSPI_MspInit()
335 GPIO_InitStruct.Pin = GPIO_PIN_2; in HAL_QSPI_MspInit()
336 GPIO_InitStruct.Alternate = GPIO_AF9_QUADSPI; in HAL_QSPI_MspInit()
337 HAL_GPIO_Init(GPIOE, &GPIO_InitStruct); in HAL_QSPI_MspInit()
340 GPIO_InitStruct.Pin = GPIO_PIN_13; in HAL_QSPI_MspInit()
341 GPIO_InitStruct.Alternate = GPIO_AF9_QUADSPI; in HAL_QSPI_MspInit()
342 HAL_GPIO_Init(GPIOD, &GPIO_InitStruct); in HAL_QSPI_MspInit()
351 GPIO_InitTypeDef GPIO_InitStruct; in HAL_PCD_MspInit() local
358 GPIO_InitStruct.Pin = (GPIO_PIN_11 | GPIO_PIN_12); in HAL_PCD_MspInit()
359 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; in HAL_PCD_MspInit()
360 GPIO_InitStruct.Pull = GPIO_NOPULL; in HAL_PCD_MspInit()
361 GPIO_InitStruct.Speed = GPIO_SPEED_HIGH; in HAL_PCD_MspInit()
362 GPIO_InitStruct.Alternate = GPIO_AF10_OTG_FS; in HAL_PCD_MspInit()
363 HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); in HAL_PCD_MspInit()
394 GPIO_InitStruct.Pin = GPIO_PIN_5; in HAL_PCD_MspInit()
395 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; in HAL_PCD_MspInit()
396 GPIO_InitStruct.Pull = GPIO_NOPULL; in HAL_PCD_MspInit()
397 GPIO_InitStruct.Speed = GPIO_SPEED_HIGH; in HAL_PCD_MspInit()
398 GPIO_InitStruct.Alternate = GPIO_AF10_OTG_HS; in HAL_PCD_MspInit()
399 HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); in HAL_PCD_MspInit()
402 GPIO_InitStruct.Pin = GPIO_PIN_3; in HAL_PCD_MspInit()
403 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; in HAL_PCD_MspInit()
404 GPIO_InitStruct.Pull = GPIO_NOPULL; in HAL_PCD_MspInit()
405 GPIO_InitStruct.Speed = GPIO_SPEED_HIGH; in HAL_PCD_MspInit()
406 GPIO_InitStruct.Alternate = GPIO_AF10_OTG_HS; in HAL_PCD_MspInit()
407 HAL_GPIO_Init(GPIOA, &GPIO_InitStruct); in HAL_PCD_MspInit()
410 GPIO_InitStruct.Pin = GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_5 |\ in HAL_PCD_MspInit()
412 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; in HAL_PCD_MspInit()
413 GPIO_InitStruct.Pull = GPIO_NOPULL; in HAL_PCD_MspInit()
414 GPIO_InitStruct.Alternate = GPIO_AF10_OTG_HS; in HAL_PCD_MspInit()
415 HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); in HAL_PCD_MspInit()
418 GPIO_InitStruct.Pin = GPIO_PIN_0; in HAL_PCD_MspInit()
419 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; in HAL_PCD_MspInit()
420 GPIO_InitStruct.Pull = GPIO_NOPULL; in HAL_PCD_MspInit()
421 GPIO_InitStruct.Alternate = GPIO_AF10_OTG_HS; in HAL_PCD_MspInit()
422 HAL_GPIO_Init(GPIOC, &GPIO_InitStruct); in HAL_PCD_MspInit()
425 GPIO_InitStruct.Pin = GPIO_PIN_4; in HAL_PCD_MspInit()
426 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; in HAL_PCD_MspInit()
427 GPIO_InitStruct.Pull = GPIO_NOPULL; in HAL_PCD_MspInit()
428 GPIO_InitStruct.Alternate = GPIO_AF10_OTG_HS; in HAL_PCD_MspInit()
429 HAL_GPIO_Init(GPIOH, &GPIO_InitStruct); in HAL_PCD_MspInit()
432 GPIO_InitStruct.Pin = GPIO_PIN_2; in HAL_PCD_MspInit()
433 GPIO_InitStruct.Mode = GPIO_MODE_AF_PP; in HAL_PCD_MspInit()
434 GPIO_InitStruct.Pull = GPIO_NOPULL; in HAL_PCD_MspInit()
435 GPIO_InitStruct.Alternate = GPIO_AF10_OTG_HS; in HAL_PCD_MspInit()
436 HAL_GPIO_Init(GPIOC, &GPIO_InitStruct); in HAL_PCD_MspInit()