MCAL DIO Channel Read
R2026bLibraries:
Embedded Coder Support Package for Renesas RH850 Microcontrollers /
Microcontroller Abstraction Layer (MCAL) Blocks
Description
Use the MCAL DIO Channel Read block to read the logical value of a specified channel identifier.
The block outputs the logical value of the selected DIO channel at each simulation step or sample time.
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
Output
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 Channel Read"
Example: add_block("rh850mcallib/MCAL DIO Channel Read","myModel/myBlock",MakeNameUnique="on")
Version History
Introduced in R2026a

