HAL + 0/41 examples
CodeScope will show references to HAL_GPIO_ReadPin() from the following samples and libraries:
Drivers
Boards
Examples
STM32F411RE-Nucleo
STM32F413ZH-Nucleo
Examples
Applications
FatFs
USB_Host
STM32F429ZI-Nucleo
Examples
Applications
USBX
USB_Host
Examples_MIX
DMA2D
STM32F412ZG-Nucleo
Examples
Applications
FatFs
USB_Host
STM32F446ZE-Nucleo
Examples
Applications
USB_Host
STM32469I-Discovery
Applications
USBX
STM324xG_EVAL
Examples
SMARTCARD
STM32F412G-Discovery
Applications
USB_Host
Examples
HAL
STM32F413H-Discovery
Applications
USB_Device
 
Symbols
loading...
Files
loading...

HAL_GPIO_ReadPin() function

Reads the specified input port pin.

Syntax

GPIO_PinState HAL_GPIO_ReadPin(GPIO_TypeDef* GPIOx,     uint16_t GPIO_Pin);
Implemented in stm32f4xx_hal_gpio.c:375

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.

References

Call Tree

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()
HAL_GPIO_ReadPin()::bitstatus
all items filtered out
Type of HAL_GPIO_ReadPin()
HAL_GPIO_ReadPin()
all items filtered out