Specifications

Table Of Contents
I-ii EPSON S1C62740 TECHNICAL HARDWARE
CONTENTS
4.4 Input Ports (K00–K03, K10) ..................................................... I-26
Configuration of input ports ................................................ I-26
Interrupt function ............................................................... I-27
Mask option ........................................................................I-29
Control of input ports.......................................................... I-30
Programming notes .............................................................I-32
4.5 Output Ports (R00–R03) .......................................................... I-33
Configuration of output ports .............................................. I-33
Mask option ........................................................................I-33
Special output..................................................................... I-33
Control of output ports........................................................I-36
Programming note............................................................... I-38
4.6 I/O Ports (P00–P03, P10–P13, P20–P23) ............................... I-39
Configuration of I/O ports................................................... I-39
I/O control registers and input/output mode ...................... I-40
Pull up during input mode .................................................. I-40
Mask option ........................................................................I-40
Control of I/O ports ............................................................ I-41
Programming note............................................................... I-43
4.7 LCD Driver (COM0–COM3, SEG0–SEG31) ............................ I-44
Configuration of LCD driver.................................................I-44
LCD display ON/OFF control and duty switching ................ I-47
Mask option (segment allocation).........................................I-48
Control of LCD driver .......................................................... I-49
Programming notes .............................................................I-50
4.8 Clock Timer .............................................................................. I-51
Configuration of clock timer ................................................ I-51
Data reading and hold function ...........................................I-51
Interrupt function ............................................................... I-52
Control of clock timer.......................................................... I-53
Programming notes .............................................................I-55
4.9 Stopwatch Timer ...................................................................... I-56
Configuration of stopwatch timer ........................................ I-56
Count-up pattern ................................................................ I-57
Interrupt function ............................................................... I-58
Control of stopwatch timer .................................................. I-59
Programming notes .............................................................I-61
4.10 Programmable Timer ............................................................... I-62
Configuration of programmable timer .................................. I-62
Input clock and pre-divider ................................................. I-62
Operation of programmable timer........................................ I-63
Interrupt function ............................................................... I-65
Control of programmable timer............................................I-66
Programming notes .............................................................I-69
4.11 Serial Interface (SIN, SOUT, SCLK, SRDY) ............................ I-70
Configuration of serial interface...........................................I-70
Master mode and slave mode of serial interface ................... I-71