I-ii
EPSON
S1C6S2N7 TECHNICAL HARDWARE
CONTENTS
CHAPTER 4
PERIPHERAL CIRCUITS AND OPERATION ...................... I-13
4.1
Memory Map .................................................................. I-13
4.2
Oscillation Circuit ............................................................ I-19
Crystal oscillation circuit ......................................... I-19
CR oscillation circuit ............................................... I-19
4.3
Input Ports (K00–K03) .................................................... I-20
Configuration of input port ...................................... I-20
Interrupt function ................................................... I-20
Mask option ............................................................ I-22
Control of input port ............................................... I-23
4.4
Output Ports (R00–R03) ................................................. I-25
Configuration of output port .................................... I-25
Mask option ............................................................ I-26
Control of output port ............................................. I-28
4.5
I/O Ports (P00–P03) ....................................................... I-31
Configuration of I/O port ........................................ I-31
I/O control register and I/O mode ........................... I-32
Mask option ............................................................ I-32
Control of I/O port .................................................. I-32
4.6
LCD Driver (COM0–COM3, SEG0–SEG25) .................. I-35
Configuration of LCD driver ..................................... I-35
Switching between dynamic and static drive ............ I-41
Mask option (segment allocation) ............................. I-42
Control of LCD driver .............................................. I-44
4.7
Clock Timer .................................................................... I-45
Configuration of clock timer .................................... I-45
Interrupt function ................................................... I-46
Control of clock timer .............................................. I-47