
S1C88816 TECHNICAL MANUAL
EPSON
iii
CONTENTS
5.11
LCD Controller ................................................................................................................. 89
5.11.1 Configuration of LCD controller ..........................................................................................89
5.11.2 Mask option ........................................................................................................................... 89
5.11.3 LCD power supply ................................................................................................................. 91
5.11.4 LCD driver ............................................................................................................................ 91
5.11.5 Display memory ..................................................................................................................... 94
5.11.6 Display control ..................................................................................................................... 101
5.11.7 I/O memory for LCD controller ........................................................................................... 102
5.11.8 Programming note ................................................................................................................ 103
5.12
Sound Generator .............................................................................................................. 104
5.12.1 Configuration of sound generator ........................................................................................ 104
5.12.2 Mask option .......................................................................................................................... 104
5.12.3 Control of buzzer output ....................................................................................................... 104
5.12.4 Setting of buzzer frequency and sound level ........................................................................ 105
5.12.5 Digital envelope ................................................................................................................... 106
5.12.6 One-shot output .................................................................................................................... 106
5.12.7 I/O memory for sound generator .......................................................................................... 107
5.12.8 Programming notes .............................................................................................................. 109
5.13
Melody Generator ............................................................................................................ 110
5.13.1 Features and configuration of melody generator ................................................................ 110
5.13.2 Programming melodies ........................................................................................................ 111
5.13.3 Controlling melody output ................................................................................................... 113
5.13.4 Interrupt function ................................................................................................................. 114
5.13.5 I/O memory for melody generator ........................................................................................ 115
5.13.6 Programming notes .............................................................................................................. 117
5.14
Supply Voltage Detection (SVD) Circuit ......................................................................... 118
5.14.1 Configuration of SVD circuit ............................................................................................... 118
5.14.2 Operation of SVD circuit ...................................................................................................... 118
5.14.3 I/O memory for SVD circuit ................................................................................................. 120
5.14.4 Programming notes .............................................................................................................. 121
5.15
A/D Converter .................................................................................................................. 122
5.15.1 Characteristics and configuration of A/D converter ............................................................ 122
5.15.2 Terminal configuration of A/D converter ............................................................................. 122
5.15.3 Mask option .......................................................................................................................... 122
5.15.4 A/D conversion ..................................................................................................................... 123
5.15.5 Interrupt function ................................................................................................................. 124
5.15.6 I/O memory for A/D converter ............................................................................................. 125
5.15.7 Programming notes .............................................................................................................. 128
5.16
Interrupt and Standby Status ........................................................................................... 129
5.16.1 Interrupt generation conditions ........................................................................................... 130
5.16.2 Interrupt factor flag .............................................................................................................. 130
5.16.3 Interrupt enable register ...................................................................................................... 131
5.16.4 Interrupt priority register and interrupt priority level ......................................................... 131
5.16.5 Exception processing vectors ............................................................................................... 132
5.16.6 I/O memory for interrupt ...................................................................................................... 133
5.16.7 Programming notes .............................................................................................................. 134
5.17
Notes for Low Current Consumption ............................................................................... 135
6
BASIC EXTERNAL WIRING DIAGRAM ..................................................... 136
7
ELECTRICAL CHARACTERISTICS ............................................................ 137
7.1
Absolute Maximum Rating ............................................................................................... 137
7.2
Recommended Operating Conditions .............................................................................. 137
7.3
DC Characteristics .......................................................................................................... 138
7.4
Analog Circuit Characteristics ........................................................................................139