RZ Processor Digital I/O
The RZ Processors include 24 bits of programmable digital I/O, two word addressable bytes and eight bit addressible bits. Direction of bytes and bits (in/out) can be set in the corresponding device specific control macro for the device, RZ2_Control, RZ5_Control, RZ5D_Control, RZ6_Control. See below for components/bitmasks to address bytes/bits.

Byte Addressable Digital I/O
Bitmasks to use for accessing byte addressable digital I/O with the WordIn, WordOut components.
Reading Bytes A and B

Writing to Bytes A and B

Reading Bits from a Byte

Bit Addressable Digital I/O
Bitmasks to use for accessing bit addressable digital I/O with the BitIn, BitOut components.
Port C As Inputs

Port C As Outputs
