
S1C88409 TECHNICAL MANUAL
EPSON
iii
CONTENTS
5.10.11 I/O memory of LCD controller .............................................................. 98
5.10.12 Programming notes .............................................................................. 103
5.11 Clock Timer ................................................................................................. 104
5.11.1 Configuration of clock timer .................................................................. 104
5.11.2 Interrupt function ................................................................................... 104
5.11.3 I/O memory of clock timer ..................................................................... 106
5.11.4 Programming notes ................................................................................ 108
5.12 16-bit Programmable Timer ....................................................................... 109
5.12.1 Configuration of 16-bit programmable timer ........................................ 109
5.12.2 Operation mode ...................................................................................... 110
5.12.3 Setting of input clock .............................................................................. 111
5.12.4 Operation and control of timer .............................................................. 111
5.12.5 Interrupt function ................................................................................... 113
5.12.6 Setting of TOUT output .......................................................................... 114
5.12.7 I/O memory of 16-bit programmable timer ........................................... 115
5.12.8 Programming notes ................................................................................ 122
5.13 8-bit Programmable Timer ......................................................................... 123
5.13.1 Configuration of 8-bit programmable timer .......................................... 123
5.13.2 Setting of input clock .............................................................................. 123
5.13.3 Operation and control of timer .............................................................. 124
5.13.4 Interrupt function ................................................................................... 125
5.13.5 Transfer rate setting for serial interface ............................................... 125
5.13.6 I/O memory of 8-bit programmable timer ............................................. 126
5.13.7 Programming notes ................................................................................ 129
5.14 Serial Interface ........................................................................................... 130
5.14.1 Configuration of serial interface ........................................................... 130
5.14.2 Transfer mode and input/output terminals ............................................ 131
5.14.3 Mask option ............................................................................................ 133
5.14.4 Clock source ........................................................................................... 133
5.14.5 Control procedure to transmit/receive ................................................... 135
5.14.6 Receive error .......................................................................................... 136
5.14.7 Interrupt function ................................................................................... 137
5.14.8 IR (Infrared-ray) interface ..................................................................... 139
5.14.9 Timing charts .......................................................................................... 141
5.14.10 I/O memory of serial interface ............................................................. 144
5.14.11 Programming notes .............................................................................. 149
5.15 Sound Generator ......................................................................................... 150
5.15.1 Configuration of sound generator ......................................................... 150
5.15.2 Control of buzzer output ......................................................................... 150
5.15.3 Setting of buzzer frequency and sound level .......................................... 151
5.15.4 Digital envelope ..................................................................................... 151
5.15.5 One-shot output ...................................................................................... 152
5.15.6 I/O memory of sound generator ............................................................. 153
5.15.7 Programming notes ................................................................................ 155
5.16 SVD (Supply Voltage Detection) Circuit ..................................................... 156
5.16.1 Configuration of SVD circuit ................................................................. 156
5.16.2 SVD operation ........................................................................................ 156
5.16.3 I/O memory of SVD circuit ..................................................................... 157
5.16.4 Programming notes ................................................................................ 157
5.17 Touch Panel Controller ............................................................................... 158
5.17.1 Configuration of touch panel controller ................................................ 158
5.17.2 Terminal configuration ........................................................................... 158
5.17.3 Operation of touch panel controller ...................................................... 159
5.17.4 Interrupt function ................................................................................... 164
5.17.5 Touch panel controller control flow ....................................................... 165
5.17.6 I/O memory of touch panel controller ................................................... 167
5.17.7 Programming notes ................................................................................ 175