This bean implements a multi-bit input/output. It uses 1 to 8 contiguous set of pins of the same (one) port.
It is recommended to select this bean exclusively for utilization as a two- to seven-bit input/output.
- If you want to use 1 bit only, select the BitIO bean instead.
- If you want to use 8 bits, select the ByteIO bean instead.
Note:
All the bits/pins must belong to the same port and must be dealt with contiguous.
For example,
Port 0/Pins 0, 1, 2, 3 is correct whereas
Port 0/Pins 0, 1, 3, 4 is not correct because the pins are not fully contiguous (unallocated pin 2 constitutes a gap between pin 1 and pin 3)
Version specific information for HC08, HCS08, HCS12 derivatives:
"Optimization for" property have no impact on generated code.
This bean belongs to the category: CPU Internal Peripherals-Port I/O