This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

GPIO Read

Read GPIO pin status

  • Library:
  • Embedded Coder Support Package for STMicroelectronics Discovery Boards/STM32F4-Discovery

Description

Read the logical value of a digital pin of the STM32F4 –Discovery™ board.

Ports

Output

expand all

Output port containing the logical value of a digital pin.

Data Types: single | double | int8 | int16 | int32 | uint8 | uint16 | uint32 | Boolean | fixed point | enumerated | bus

Parameters

expand all

Select one of GPIOA to GPIOI ports to get a GPIO pin status.

Select a GPIO pin to read the logical status.

Specify how often this block reads the pin value, in seconds. Enter a value greater than zero.

Introduced in R2013b