Main Content

GPIO Write

Set GPIO pin status

  • GPIO Write block

Embedded Coder Support Package for STMicroelectronics Discovery Boards/STM32F4-Discovery


Set the logical value of a digital pin of the STM32F4 -Discovery™ board.



expand all

The input port to set the GPIO pin status.

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


expand all

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

Select a GPIO pin to write the logical status.

Select this option to set the GPIO pin status during model initialization.

Select this option to enable GPIO pin toggling when the input is ‘true’.

Version History

Introduced in R2013b