Epson Research and Development
Page 61
Vancouver Design Center
Hardware Functional Specification
S1D13503
Issue Date: 01/01/29
X18A-A-001-08
8 HARDWARE REGISTER INTERFACE
The S1D13503 is configured and controlled via 16 internal 8-bit registers. There are two ways to map these registers into
the system I/O space.
1.
Direct-mapping: Absolute I/O address = system address lines AB[3:0] + base I/O mapped address
(where base I/O address is selected by VD7-VD12, see Table 5-6)
This scheme requires 16 sequential I/O addresses starting from the I/O mapped base address selected by VD7-VD12
(see Table 5-6).
To perform an I/O access:
write data
IOW {absolute I/O address}, {data}
read data
IOR {absolute I/O address}
2.
Indexing: I/O address = internal index register bits [3:0]
This scheme requires 2 sequential I/O addresses starting from the base address selected by VD4-VD12
(see Table 5-6).
To perform an 8-bit I/O access:
write index IOW {I/O mapped address}, {index}
; write the index of the register to be accessed
then
write data
IOW {I/O mapped a1}, {data}
; write data to the indexed register
or
read data
IOR {I/O mapped a1}
; read the indexed register
To perform a 16-bit I/O access:
write data
IOW {I/O mapped address}, {index,data} ; write the index and data of the register to be accessed
read data
IOW {I/O mapped address}, {index}
; write to the indexed register
IOR {I/O mapped a1}
; read the indexed register
8.1 Register Descriptions
bit 7
Test Mode Enable
When this bit = 0 normal operation is enabled. When this bit = 1 the chip is placed in a special test mode.
The test input bits and test output bits (bits 6:0) are used to select various internal test functions.
bit 6
Reserved
During normal operation this bit must = 0.
bits 5-0
Test Mode Input and Output Bits [2:0]
When bit 7 = 1 these are the Test Input Select Input and Output bits. When bits 6 and 7 = 0 (normal opera-
tion) these bits may be used as read/write scratch registers.
AUX[00] Test Register
I/O address = 0000b, Read/Write
Test Mode
Enable
Reserved
Test Input
Select Bit 2
Test Input
Select Bit 1
Test Input
Select Bit 0
Test Output
Select Bit 2
Test Output
Select Bit 1
Test Output
Select Bit 0
electronic components distributor