メインコンテンツ

MCAL DIO Channel Group Write

Write value to the specified DIO channel group identifier

Since R2026a

  • MCAL DIO Channel Group Write block

Libraries:
Embedded Coder Support Package for Renesas RH850 Microcontrollers / Microcontroller Abstraction Layer (MCAL) Blocks

Description

Use the MCAL DIO Channel Group Write block to write a chosen value to a set of adjoining bits in a port, determined by the channel group identifier. The channel group must be configured in the CDF (Configuration Description File).

The block accepts a integer value as input and writes this value to the selected DIO channel group at each simulation step or sample time.

Examples

Ports

Input

expand all

Sets a specified group of contiguous bits within a port to a given value, as defined by the channel group identifier.

Data Types: uint16 | uint8 | uint32

Parameters

expand all

Specify the unique identifier for the DIO channel group to be written. Click Get dio channel groups to view and select from the list of available channel group names configured in the CDF.

Programmatic Use

Block Parameter: Port

Select the input data type for the channel group value.

Programmatic Use

Block Parameter: PortDataType

Version History

Introduced in R2026a