GPIO Read Pin

GPIO Read Pin block

This block implements GPIO Write Pin functionality.

Contents

GPIO Read Pin display

GPIO Read Pin parameters

  • Port – port of pin to be read
  • Pin number – number of pin to be read (supports multiple pins in brackets [])

Inputs

None

Outputs

  • PIN_PORT|PIN_NUMBER – pin state to be read from particular pin

CubeMX settings

  • Set pins as GPIO_Input