General-purpose I/Os (GPIO)
12.2.6.2 GPIO_ReadInputData
uint16_t GPIO_ReadInputData ( GPIO_TypeDef * GPIOx)
Reads the specified input port pin.
ï‚· GPIOx : where x can be (A, B, C, D, E or F) to select the
GPIO peripheral.
ï‚· The input port pin value.
12.2.6.3 GPIO_ReadOutputDataBit
uint8_t GPIO_ReadOutputDataBit ( GPIO_TypeDef * GPIOx,
uint16_t GPIO_Pin)
Reads the specified output data port bit.
ï‚· GPIOx : where x can be (A, B, C, D, E or F) to select the
GPIO peripheral.
ï‚· GPIO_Pin : Specifies the port bit to read.
ï‚· The output port pin value.
ï‚· This parameter can be GPIO_Pin_x where x can be : (0..15)
for GPIOA, GPIOB, GPIOC, GPIOD or GPIOE; (0..2, 4, 6,
9..10) for GPIOF.
12.2.6.4 GPIO_ReadOutputData
uint16_t GPIO_ReadOutputData ( GPIO_TypeDef * GPIOx)
Reads the specified GPIO output data port.
ï‚· GPIOx : where x can be (A, B, C, D, E or F) to select the
GPIO peripheral.