F28M35x/F28M36x GPIO Digital Output
Set the logical value of a GPIO pin configured as output
C2000™ Microcontroller Blockset F28M35x/ M3
C2000 Microcontroller Blockset F28M36x/ M3
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.
Pin # — Status of GPIO pin
scalar | vector
Specify a value at this port to set the status of GPIO pin(s).
GPIO port — Port to write GPIO pin status
GPIOA (default) |
Select one of GPIO ports to which you want to write the GPIO pin status.
Pin number — GPIO pin to write status
Pin 0 (default) |
Pin 1 |
Pin 2 |
Select the pin number of the GPIO pin whose status you want to write.
Initially set GPIO pin — GPIO pin status during model initialization
on (default) |
Select this option to set the GPIO pin status during model initialization.
Introduced in R2016a