Toshiba TC9314F Manual page 16

Cmos digital integrated circuit silicon monolithic
Table of Contents

Advertisement

I/O Map
All the ports in the device are accessed by the six input/output instructions (OUT1~OUT3 and IN1~IN3)
using the 4 bit code number matrices.
The I/O map on the following page shows the port allocation. Horizontally, the I/O map shows the ports
manipulated by each input/output instruction. Vertically, the map shows the ports corresponding to each port
code number. The G register and the data register are also treated as ports.
Use the OUT1~OUT3 instructions for output ports and the INT1~INT3 instructions for input ports.
Note 14: The diagonal lines in the I/O map indicate non-existent ports. Executing an instruction to output data to a
non-existent output port has no effect on other ports or on data memory contents. Executing an input
instruction for a non-existent input port reads all "1" into data memory.
Note 15: Output ports indicated by an asterisk (*) in the I/O map are unused ports. Data output to these ports are
"don't care".
Note 16: The contents of the ports are represented by four bits where Y1 corresponds to the least significant bit of the
data in data memory, and Y8 to the most significant bit.
The ports specified by the six input/output instructions and by code No.C are represented in this document by
the following notation.
(example)
The G register is set by the OUT1 instruction with codes "D" and "E". Therefore, the notation is
" L1D" and " L1E".
16
TC9314F
2003-07-03

Advertisement

Table of Contents
loading

Table of Contents