Main Content

F28M35x/F28M36x GPIO Digital Output

Set the logical value of a GPIO pin configured as output

  • F28M35x/F28M36x GPIO Digital Output block

Libraries:
C2000™ Microcontroller Blockset F28M35x/ M3
C2000 Microcontroller Blockset F28M36x/ M3

Description

Set the logical value of the configured GPIO pin.

Configure individual general-purpose input/output (GPIO) pins to operate as digital outputs. When a pin is configured for digital output, it cannot operate as a digital input or connect to peripheral I/O signals.

Ports

Input

expand all

Specify a value at this port to set the status of GPIO pin(s).

Data Types: Boolean

Parameters

expand all

Select one of GPIO ports to which you want to write the GPIO pin status.

Select the pin number of the GPIO pin whose status you want to write.

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

Version History

Introduced in R2016a