Digital Port Pins Write
Libraries:
Embedded Coder Support Package for Renesas RA Microcontrollers /
Renesas RA6 Based
Description
The Digital Port Pins Write block writes logical states to multiple digital output pins (channels) on a specified port of the Renesas RA microcontroller.
Examples
Getting Started with Renesas RA Microcontroller Boards
Use the Embedded Coder ® Support Package for Renesas® RA Microcontrollers to deploy and simulate a Simulink® model on hardware based on Renesas RA microcontrollers. With this support package, you can access hardware peripherals at run time using Simulink® blocks and configure those peripherals through the Renesas RA Smart Configurator tool.
Ports
Input
Provides the logical state for the first pin/channel as a scalar input. The
numeric suffix (00 -15) for the channel reflects the value
specified in the Pins parameter.
Dependencies
To enable this port, Select group of pins/channels and Separate input for each pin parameters must be selected.
Data Types: int8 | uint8 | uint32 | Boolean
Provides the logical state (high/low) for each pin in the group as a vector input.
Dependencies
To enable this port, Separate input for each pin parameter must be cleared.
Data Types: int8 | uint8 | uint32 | Boolean
Parameters
Specify the unique identifier for the digital port. This links the block to a specific digital hardware instance or configuration.
Programmatic Use
Block Parameter:
PortName
|
Select this parameter to specify a group of pins or channels to write to.
Programmatic Use
Block Parameter:
IndividualPinsWrite
|
Specify the pin or channel index (0–15) to write to. The
specified value is appended as a numeric suffix to the Channel000 input port. For
example, specifying 1, results in the input port name Channel001.
Programmatic Use
Block Parameter:
PinNumbers
|
Select this parameter to add a separate input port for each specified pin/channel. When disabled, a single vector input port is used for all pins.
Programmatic Use
Block Parameter:
EachPinAsInput
|
Version History
Introduced in R2026a
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)

