General-purpose I/Os (GPIO)
ï‚· GPIO output data port value.
12.2.6.5 GPIO_SetBits
void GPIO_SetBits ( GPIO_TypeDef * GPIOx, uint16_t
GPIO_Pin)
Sets the selected data port bits.
ï‚· GPIOx : where x can be (A, B, C, D, E or F) to select the
GPIO peripheral.
ï‚· GPIO_Pin : specifies the port bits to be written.
ï‚· 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.6 GPIO_ResetBits
void GPIO_ResetBits ( GPIO_TypeDef * GPIOx, uint16_t
GPIO_Pin)
Clears the selected data port bits.
ï‚· GPIOx : where x can be (A, B, C, D, E or F) to select the
GPIO peripheral.
ï‚· GPIO_Pin : specifies the port bits to be written.
ï‚· 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.7 GPIO_WriteBit