II-ii
EPSON
S1C88348/317/316/308 TECHNICAL SOFTWARE
CONTENTS
12
PROGRAMMABLE TIMER .......................................................................... II-63
(1) Initialization and interrupt processing for 8-bit reload timer (two channels)
(2) Initialization and interrupt processing for 16-bit one-shot timer (one channel)
(3) Initialization and interrupt processing for 8-bit event counter
(4) Initialization and interrupt processing for 16-bit pulse width measurement timer
(5) 16-bit reload timer pulse output
13
LCD CONTROLLER ...................................................................................... II-86
(1) Initialization for LCD controller
(2) Display control
14
SOUND GENERATOR .................................................................................. II-91
(1) Initialization for sound generator
(2) Normal buzzer output
(3) Buzzer output with digital envelope
(4) One-shot buzzer output
15
ANALOG COMPARATOR ............................................................................. II-96
(1) Initialization for analog comparator
(2) Data reading for analog comparator
16
SVD (SUPPLY VOLTAGE DETECTION) CIRCUIT .................................. II-98
(1) Supply voltage detection in 1/4 Hz auto sampling mode
(2) Supply voltage detection in continuously sampling mode
17
INTERRUPT (EXCEPTION) PROCESSING ............................................. II-100
(1) Interrupt level setting and enables interrupt
(2) Zero division exception processing
(3) Watchdog timer (NMI) interrupt processing
(4) Interrupt processing for peripheral circuit
18
EXPANDED MODE ...................................................................................... II-108
(1) Access for program memory outside logical space
(2) Data block transfer between pages
(3) Access for data outside page
Appendix A
Table of Input/Output Port Terminals ............................................ II-111
Appendix B
Instruction List ................................................................................. II-113
Appendix C
Programming Notes ......................................................................... II-130