Digital Port Write
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
Pin(s) — Status of GPIO pin(s)
scalar
|
vector
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
sig — Simulink based simulation signal
scalar
|
vector
This port outputs the data received at the input port during simulation.
Dependencies
To view this port, select the Enable simulation port parameter.
Parameters
Number of pins — Number of pins you want to configure
1
(default) |
2
|
3
|
...
Select the number of pins (1
to 15
) whose
output you want to configure in the block.
Enable simulation port — Enable peripheral simulation ports in the block
off
(default) |
on
Select this parameter to enable peripheral simulation capability.
Version History
Introduced in R2024a
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)