MCAL DIO Port Pins Write
R2026bWrite logical value to groups of pins or individual channels on a specified DIO port
Since R2026a
Libraries:
Embedded Coder Support Package for Renesas RH850 Microcontrollers /
Microcontroller Abstraction Layer (MCAL) Blocks
Description
Use the MCAL DIO Port Pins Write block to write values to all channels of the specified Digital Input/Output (DIO) port or to write values to a specified group of channels within a Digital Input/Output (DIO) port, as defined in the Configuration Description File (CDF).
Before using this block, configure pin modes and DIO channels, select the Configuration Description File (CDF) in Simulink model configuration, and then integrate the block into your target-specific model for code generation and deployment. For information on configuring correct and portable Digital Input/Output (DIO) workflow using the MCAL DIO module in Simulink and AUTOSAR-based projects, see Getting Started With DIO Using MCAL.
Examples
Ports
Input
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"rh850mcallib/MCAL DIO Port Pins Write"
Example: add_block("rh850mcallib/MCAL DIO Port Pins Write","myModel/myBlock",MakeNameUnique="on")
Version History
Introduced in R2026a


