Read GPIO pin status
Embedded Coder Support Package for STMicroelectronics Discovery Boards/STM32F4-Discovery
Read the logical value of a digital pin of the STM32F4 –Discovery™ board.
Port_1— Output port containing the logical value
Output port containing the logical value of a digital pin.
fixed point |
GPIO port— GPIO port to read the GPIO pin status
Select one of GPIOA to GPIOI ports to get a GPIO pin status.
Pin number— GPIO pin to read the logical status
Select a GPIO pin to read the logical status.
Sample time— Time frequency at which the read the pin value
Specify how often this block reads the pin value, in seconds. Enter a value greater than zero.