#include "stm32f4xx_gpio.h"#include "stm32f4xx_rcc.h"
Go to the source code of this file.
Functions | |
| void | GPIO_DeInit (GPIO_TypeDef *GPIOx) |
| De-initializes the GPIOx peripheral registers to their default reset values. More... | |
| void | GPIO_Init (GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_InitStruct) |
| Initializes the GPIOx peripheral according to the specified parameters in the GPIO_InitStruct. More... | |
| void | GPIO_PinAFConfig (GPIO_TypeDef *GPIOx, uint16_t GPIO_PinSource, uint8_t GPIO_AF) |
| Changes the mapping of the specified pin. More... | |
| void | GPIO_PinLockConfig (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin) |
| Locks GPIO Pins configuration registers. More... | |
| uint16_t | GPIO_ReadInputData (GPIO_TypeDef *GPIOx) |
| Reads the specified GPIO input data port. More... | |
| uint8_t | GPIO_ReadInputDataBit (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin) |
| Reads the specified input port pin. More... | |
| uint16_t | GPIO_ReadOutputData (GPIO_TypeDef *GPIOx) |
| Reads the specified GPIO output data port. More... | |
| uint8_t | GPIO_ReadOutputDataBit (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin) |
| Reads the specified output data port bit. More... | |
| void | GPIO_ResetBits (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin) |
| Clears the selected data port bits. More... | |
| void | GPIO_SetBits (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin) |
| Sets the selected data port bits. More... | |
| void | GPIO_StructInit (GPIO_InitTypeDef *GPIO_InitStruct) |
| Fills each GPIO_InitStruct member with its default value. More... | |
| void | GPIO_ToggleBits (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin) |
| Toggles the specified GPIO pins.. More... | |
| void | GPIO_Write (GPIO_TypeDef *GPIOx, uint16_t PortVal) |
| Writes data to the specified GPIO data port. More... | |
| void | GPIO_WriteBit (GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin, BitAction BitVal) |
| Sets or clears the selected data port bit. More... | |