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.
Examples
Getting Started with Embedded Coder Support Package for Infineon AURIX TC3x Microcontrollers
Use Embedded Coder® Support Package for Infineon® AURIX™ TC3x Microcontrollers to run a Simulink® model on Infineon AURIX TC3x board.
Signal Monitoring and Parameter Tuning Using Infineon AURIX TC3x Microcontrollers
Use Embedded Coder® Support Package for Infineon® AURIX™ TC3x Microcontrollers in Monitor and Tune mode (External mode) using Infineon AURIX TC3x hardware board.
Field-Oriented Control of BLDC with Encoder Using Infineon AURIX TC3xx Microcontrollers
Implement the field-oriented control (FOC) technique to control the speed of a three-phase brushless DC (BLDC) motor. The FOC algorithm requires rotor position feedback, which is obtained by using an encoder sensor. For more details about FOC, see Field-Oriented Control (FOC) (Motor Control Blockset).
Getting Started with Multicore Modeling and Targeting for Infineon AURIX TC3x Microcontrollers
Use Embedded Coder® Support Package for Infineon® AURIX™ TC3x Microcontrollers to implement multicore modeling and communication between two cores on an Infineon® AURIX™ microcontroller. This example uses a top-level model and two referenced models for two-way multicore data communication. The model supports both simulation and code generation. You can simulate the model and deploy the code on an Infineon AURIX TC3x hardware board using the Soc Builder tool and observe the blinking of the configured LEDs of each core to verify the communication between the cores.
Ports
Input
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
0to set the pin(s) to a low value.Specify a
nonzerovalue 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
The Digital Port Write block converts the data received at input port into SoC Blockset™ message form and the msg port outputs that message during simulation.
Dependencies
To view this port, select the Enable simulation port parameter and set the port type as SoC Data (Message based).
This port outputs the data received at the input port during simulation.
Dependencies
To view this port, select the Enable simulation port parameter and set the port type as Signal.
Parameters
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.
Select this parameter to configure either the SoC compatible or the Simulink® signal based simulation ports to enable peripheral simulation capability.
Dependencies
To view this parameter, select the Enable simulation port parameter.
Version History
Introduced in R2024a
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
- América Latina (Español)
- Canada (English)
- United States (English)
유럽
- 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)




