Software
S1C621A0 TECHNICAL SOFTWARE
EPSON
II-i
CONTENTS
CONTENTS
CHAPTER 1
INITIAL RESET ................................................................... II-1
1.1
Internal Register Status at Initial Reset .......................... II-1
1.2
Watchdog Timer ............................................................. II-6
Watchdog timer control ............................................ II-6
Watchdog timer control program sample .................. II-7
CHAPTER 2
PERIPHERAL CIRCUITS ..................................................... II-8
2.1
Oscillation Circuit ............................................................ II-8
Oscillation circuit control ......................................... II-8
Oscillation circuit control program samples .............. II-9
2.2
Input Ports ..................................................................... II-11
Input port control .................................................... II-11
Input port control program samples ........................ II-13
2.3
Output Ports .................................................................. II-15
Output port control ................................................. II-15
Output port control program samples ..................... II-16
2.4
I/O Ports ........................................................................ II-18
I/O port control ...................................................... II-18
I/O port control program samples ........................... II-19
2.5
LCD Driver ..................................................................... II-22
LCD driver control ................................................... II-22
LCD driver control program samples ....................... II-23
2.6
Timer ............................................................................. II-25
Timer control .......................................................... II-25
Timer control program samples ............................... II-27
2.7
Remote-control LEDs .................................................... II-29
Remote LED control ................................................ II-29
Detailed description of REM control registers—Part 1
(operation under software timer control) .................. II-31
Sample of REM output program
under software timer control ................................... II-32