HAL_GPIO_ReadPin() function
Reads the specified input port pin.
Arguments
GPIOx
where x can be (A..K) to select the GPIO peripheral for STM32F429X device or x can be (A..I) to select the GPIO peripheral for STM32F40XX and STM32F427X devices.
GPIO_Pin
specifies the port bit to read. This parameter can be GPIO_PIN_x where x can be (0..15).
Return value
The input port pin value.
Examples
HAL_GPIO_ReadPin() is referenced by
41 libraries and example projects.
Functions called by HAL_GPIO_ReadPin()
HAL_GPIO_ReadPin()
assert_failed() all items filtered out
Data read by HAL_GPIO_ReadPin()
Data written by HAL_GPIO_ReadPin()
HAL_GPIO_ReadPin()::bitstatus all items filtered out
HAL_GPIO_ReadPin()
HAL_GPIO_ReadPin()::bitstatus all items filtered out
Type of HAL_GPIO_ReadPin()
HAL_GPIO_ReadPin()