
I-ii
EPSON
S1C6S3N2 TECHNICAL HARDWARE
CONTENTS
4.3
Oscillation Circuit ............................................................ I-26
OSC1 oscillation circuit ........................................... I-26
OSC3 oscillation circuit ........................................... I-26
Configuration of oscillation circuit ........................... I-28
Control of oscillation circuit .................................... I-29
Programming notes ................................................. I-30
4.4
Input Ports (K00–K03, K10) ........................................... I-31
Configuration of input ports .................................... I-31
Differential registers and interrupt function ............ I-32
Mask option ............................................................ I-34
Control of input ports .............................................. I-35
Programming notes ................................................. I-37
4.5
Output Ports (R00–R03, R10–R13) ............................... I-40
Configuration of output ports .................................. I-40
Mask option ............................................................ I-40
Control of output ports ............................................ I-43
Programming note ................................................... I-45
4.6
I/O Ports (P00–P03, P10–P13) ...................................... I-46
Configuration of I/O ports ....................................... I-46
I/O control register and I/O mode ........................... I-47
Mask option ............................................................ I-47
Control of I/O ports ................................................ I-48
Programming notes ................................................. I-50
4.7
LCD Driver (COM0–3, SEG0–37) .................................. I-51
Configuration of LCD driver ..................................... I-51
Switching between dynamic and ALL OFF ............... I-56
Mask option (segment allocation) ............................. I-57
Control of LCD driver .............................................. I-59
Programming notes ................................................. I-60
4.8
Clock Timer .................................................................... I-61
Configuration of clock timer .................................... I-61
Interrupt function ................................................... I-62
Control of clock timer .............................................. I-63
Programming notes ................................................. I-65