GPIO Alternate functions configuration function. More...
Functions | |
void | GPIO_PinAFConfig (GPIO_TypeDef *GPIOx, uint16_t GPIO_PinSource, uint8_t GPIO_AF) |
Changes the mapping of the specified pin. More... | |
GPIO Alternate functions configuration function.
GPIO Alternate functions configuration functions.
=============================================================================== ##### GPIO Alternate functions configuration function ##### ===============================================================================
=============================================================================== ##### GPIO Alternate functions configuration functions ##### ===============================================================================
void GPIO_PinAFConfig | ( | GPIO_TypeDef * | GPIOx, |
uint16_t | GPIO_PinSource, | ||
uint8_t | GPIO_AF | ||
) |
Changes the mapping of the specified pin.
Writes data to the specified GPIO data port.
GPIOx | where x can be (A..K) to select the GPIO peripheral for STM32F405xx/407xx and STM32F415xx/417xx devices x can be (A..I) to select the GPIO peripheral for STM32F42xxx/43xxx devices. x can be (A, B, C, D and H) to select the GPIO peripheral for STM32F401xx devices. |
GPIO_PinSource | specifies the pin for the Alternate function. This parameter can be GPIO_PinSourcex where x can be (0..15). |
GPIO_AFSelection | selects the pin to used as Alternate function. This parameter can be one of the following values:
|
None |
GPIOx | where x can be (A..I) to select the GPIO peripheral for STM32F40xx/41xx and STM32F427x/437x devices. |
GPIO_PinSource | specifies the pin for the Alternate function. This parameter can be GPIO_PinSourcex where x can be (0..15). |
GPIO_AFSelection | selects the pin to used as Alternate function. This parameter can be one of the following values:
|
None |
GPIOx | where x can be (A, B, C, D, E or F) to select the GPIO peripheral. |
GPIO_PinSource | specifies the pin for the Alternate function. This parameter can be GPIO_PinSourcex where x can be (0..15). |
GPIO_AF | selects the pin to be used as Alternate function. This parameter can be one of the following value:
|
None |
Definition at line 579 of file CMSIS/CM4/DeviceSupport/ST/STM32F4xx/stm32f4xx_gpio.c.