Main Content

Digital Port Write

Set GPIO pin(s) status

Since R2024a

  • Digital Port Write block

Libraries:
Embedded Coder Support Package for Infineon AURIX TC3x Microcontrollers / AURIX TC3x

Description

Write logical status of pins of a GPIO port for the Infineon AURIX TC3x Microcontrollers.

Ports

Input

expand all

Specify a value at this port to set the status of GPIO pin(s). You can specify a non-negative scalar or a vector of non-negative elements.

  • Specify 0 to set the pin(s) to a low value.

  • Specify a nonzero value to set the pin(s) to a high value.

The size of input ports available depends on the Number of pins parameter.

Data Types: single | double | int8 | int16 | int32 | uint8 | uint16 | uint32 | Boolean

Output

expand all

This port outputs the data received at the input port during simulation.

Dependencies

To view this port, select the Enable simulation port parameter.

Parameters

expand all

Select the number of pins (1 to 15) whose output you want to configure in the block.

Select this parameter to enable peripheral simulation capability.

Version History

Introduced in R2024a