HAL_GPIO_TogglePin()
HAL_GPIO_LockPin()
HAL_GPIO_EXTI_IRQHandler()
HAL_GPIO_EXTI_Callback()
20.2.5 Detailed description of functions
HAL_GPIO_Init
void HAL_GPIO_Init (GPIO_TypeDef * GPIOx,
GPIO_InitTypeDef * GPIO_Init)
Initializes the GPIOx peripheral according to the specified
parameters in the GPIO_Init.
GPIOx: where x can be (A..I) to select the GPIO peripheral.
GPIO_Init: pointer to a GPIO_InitTypeDef structure that
contains the configuration information for the specified GPIO
peripheral.
HAL_GPIO_DeInit
void HAL_GPIO_DeInit (GPIO_TypeDef * GPIOx, uint32_t
GPIO_Pin)
De-initializes the GPIOx peripheral registers to their default reset
values.
GPIOx: where x can be (A..I) to select the GPIO peripheral.
GPIO_Pin: specifies the port bit to be written. This parameter
can be one of GPIO_PIN_x where x can be (0..15).
HAL_GPIO_ReadPin
GPIO_PinState HAL_GPIO_ReadPin (GPIO_TypeDef * GPIOx,
uint16_t GPIO_Pin)
Reads the specified input port pin.
GPIOx: where x can be (A..I) to select the GPIO peripheral.
GPIO_Pin: specifies the port bit to read. This parameter can
be GPIO_PIN_x where x can be (0..15).
The: input port pin value.
HAL_GPIO_WritePin
void HAL_GPIO_WritePin (GPIO_TypeDef * GPIOx, uint16_t
GPIO_Pin, GPIO_PinState PinState)
Sets or clears the selected data port bit.
GPIOx: where x can be (A..I) to select the GPIO peripheral
for all STM32F2XX devices
GPIO_Pin: specifies the port bit to be written. This parameter
can be one of GPIO_PIN_x where x can be (0..15).