GMS81C5108
JUNE 2001 Ver 1.0
Table of Contents
1. OVERVIEW ...........................................1
Description .........................................................1
Features .............................................................1
Development Tools ............................................2
OrderingInformation
2. BLOCK DIAGRAM ................................3
3. PIN ASSIGNMENT ...............................4
4. PACKAGE DIAGRAM ...........................5
5. PIN FUNCTION .....................................6
6. PORTSTRUCTURES ...........................8
7. ELECTRICAL CHARACTERISTICS ...11
Absolute Maximum Ratings .............................11
Recommended Operating Conditions ..............11
DC Electrical Characteristics ...........................12
LCD Characteristics .........................................13
A/D Converter Characteristics .........................13
AC Characteristics ...........................................14
SerialI/O Characteristics .................................15
Typical Characteristics..................................... 16
8. MEMORYORGANIZATION ................18
Registers ..........................................................18
ProgramMemory .............................................21
Data Memory ................................................... 24
Addressing Mode............................................. 27
9. I/O PORTS ..........................................31
Registers for Port .............................................31
I/O Ports Configuration ....................................32
10. CLOCK GENERATOR ......................34
Operation Mode ...............................................36
Operation Mode Switching ...............................37
POWER SAVING OPERATION .......................39
11. BASIC INTERVAL TIMER .................43
12. Timer / Counter .................................45
8-Bit Timer/Counter Mode ................................48
16 Bit Timer/Counter Mode ..............................50
8-Bit Capture Mode ......................................... 50
16-bit Capture Mode....................................... 53
8-Bit (16-Bit) Compare OutPutMode.............. 53
PWM Mode ..................................................... 53
13. Watch Timer/Watch Dog Timer......... 56
Watch Timer .................................................... 56
Watch Dog Timer ............................................ 57
14. AnalogTo Digital Converter ..............58
15. Buzzer Output Function ....................60
16. Serial Communication Interface ........62
Data Transmit/Receive Timing........................ 63
The method of Serial I/O ................................. 64
17. INTERRUPTS ...................................65
Interrupt Sequence .......................................... 66
BRK Interrupt .................................................. 68
Multi Interrupt .................................................. 68
External Interrupt ............................................. 69
18. KEY SCAN ........................................70
19. LCD DRIVER.................................... 71
Configuration of LCD driver............................. 71
Control ofLCD DriverCircuit ........................... 72
LCD Display Memory ...................................... 73
Control Methodof LCD Driver ......................... 74
20. Remocon Carrier Generator ............. 76
Remocon Signal Output Control ..................... 76
Carrier Frequency ........................................... 77
21. OSCILLATOR CIRCUIT ....................80
22. RESET ..............................................81
External Reset Input ........................................ 81
Watchdog Timer Reset ................................... 81
23. SUPPLY VOLTAGE DETECTION ....82
24. DEVEMOPMENT TOOLS .................83
OTP Programming .......................................... 83
EmulatorS/W Setting ...................................... 84
A. CONTROL REGISTER LIST................. i
B. INSTRUCTION.................................... iii
Terminology List................................................ iii
Instruction Map ..................................................iv
Instruction Set ....................................................v
C.MASK ORDERSHEET .......................xi