![]() |
STM32F0 Standard Peripheral bibliotheek
1.0
ST Microelectronics standard peripheral bibliotheek documentatie voor de STM32F0 familie
|
GPIO Alternate functions configuration functions. More...
Functions | |
void | GPIO_PinAFConfig (GPIO_TypeDef *GPIOx, uint16_t GPIO_PinSource, uint8_t GPIO_AF) |
Writes data to the specified GPIO data port. More... | |
GPIO Alternate functions configuration functions.
=============================================================================== ##### GPIO Alternate functions configuration functions ##### ===============================================================================
void GPIO_PinAFConfig | ( | GPIO_TypeDef * | GPIOx, |
uint16_t | GPIO_PinSource, | ||
uint8_t | GPIO_AF | ||
) |
Writes data to the specified GPIO data port.
GPIOx,: | where x can be (A or B) 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 used as Alternate function. This parameter can be one of the following value:
|
None |