10
5.3. Input/output operation
①
Output data from PC to port
continuous output
After receiving the data from the PC, send the data to the port set for output.
Set data in 4-bit units (in the order of high order and low order).
After setting the data to the output port, the STB pulse is output.
Note)
If more data than the output port setting is sent, the extra data will be discarded.
If less data than the output port setting is sent, the previously sent data will remain
in the missing area.
pulse output
After receiving the data from the PC, send the data to the port set for output.
Set data in 4-bit units (in the order of high order and low order).
Output port data is output only for the specified pulse width.
②
Send data input from port to PC
No latch
When the ZS-6222A receives an "R" command from the PC, it takes data from the
input port at that time (in the order of upper and lower) and sends it to the PC.
with latch
Data from the input port is captured when the LAH input is Low.
When the ZS-6222A receives the "R" command from the PC, it sends the data to the
PC when it is captured as described above.