
ii
EPSON
S1C621C0 TECHNICAL MANUAL
CONTENTS
White
4.4
Input Ports (K00–K03, K10–K13) ............................................................... 17
4.4.1 Configuration of input ports ...................................................................... 17
4.4.2 Mask option ................................................................................................ 17
4.4.3 Interrupt function ....................................................................................... 18
4.4.4 Control of input ports ................................................................................ 19
4.4.5 Programming notes .................................................................................... 21
4.5
Output Ports (R00–R03) .............................................................................. 22
4.5.1 Configuration of output ports .................................................................... 22
4.5.2 Mask option ................................................................................................ 22
4.5.3 Special output ............................................................................................ 22
4.5.4 Control of output ports .............................................................................. 24
4.5.5 Programming notes .................................................................................... 26
4.6
I/O Ports (P00–P03) .................................................................................... 27
4.6.1 Configuration of I/O ports ......................................................................... 27
4.6.2 I/O control registers and input/output mode ............................................. 27
4.6.3 Pull up during input mode ......................................................................... 27
4.6.4 Control of I/O ports ................................................................................... 28
4.6.5 Programming note ..................................................................................... 29
4.7
LCD Driver (COM0–COM3, SEG0–SEG33) .............................................. 30
4.7.1 Configuration of LCD driver ..................................................................... 30
4.7.2 LCD drive voltage ...................................................................................... 30
4.7.3 LCD display ON/OFF control and duty switching .................................... 30
4.7.4 Switching between dynamic and static drive ............................................. 33
4.7.5 Display memory area ................................................................................. 33
4.7.6 Mask option (segment allocation) .............................................................. 34
4.7.7 Control of LCD driver ............................................................................... 35
4.7.8 Programming notes .................................................................................... 36
4.8
Clock Timer .................................................................................................. 37
4.8.1 Configuration of clock timer ...................................................................... 37
4.8.2 Data reading and hold function ................................................................. 37
4.8.3 Interrupt function ....................................................................................... 37
4.8.4 Control of clock timer ................................................................................ 38
4.8.5 Programming notes .................................................................................... 40
4.9
Remote Controller (REM) ............................................................................ 41
4.9.1 Configuration of remote controller ............................................................ 41
4.9.2 Remote controller ON/OFF and output control ........................................ 42
4.9.3 Carrier ....................................................................................................... 43
4.9.4 Soft-timer mode .......................................................................................... 44
4.9.5 Hard-timer mode and REM interrupt ........................................................ 44
4.9.6 Control of remote controller ...................................................................... 48
4.9.7 Programming notes .................................................................................... 52
4.10 R/F Converter .............................................................................................. 53
4.10.1 Configuration of R/F converter ............................................................... 53
4.10.2 Connection terminals and CR oscillation circuit .................................... 53
4.10.3 Operation of R/F conversion ................................................................... 55
4.10.4 Interrupt function ..................................................................................... 58
4.10.5 Control of R/F converter .......................................................................... 60
4.10.6 Programming notes .................................................................................. 63
4.11 SVD (Supply Voltage Detection) Circuit ..................................................... 64
4.11.1 Configuration of SVD circuit ................................................................... 64
4.11.2 SVD operation .......................................................................................... 64
4.11.3 Control of SVD circuit ............................................................................. 65
4.11.4 Programming notes .................................................................................. 65