ii
3802 GROUP USER'S MANUAL
Table of contents
ROM PROGRAMMING METHOD ...............................................................................................1-38
FUNCTIONAL DESCRIPTION SUPPLEMENT ..........................................................................1-39
Interrupt.................................................................................................................................... 1-39
Timing After Interrupt .............................................................................................................1-40
A-D Converter .........................................................................................................................1-41
CHAPTER 2. APPLICATION
2.1 I/O port ..................................................................................................................................... 2-2
2.1.1 Memory map of I/O port ................................................................................................2-2
2.1.2 Related registers.............................................................................................................2-3
2.1.3 Handling of unused pins................................................................................................2-4
2.2 Timer ......................................................................................................................................... 2-5
2.2.1 Memory map of timer.....................................................................................................2-5
2.2.2 Related registers.............................................................................................................2-6
2.2.3 Timer application examples .........................................................................................2-11
2.3 Serial I/O ................................................................................................................................2-23
2.3.1 Memory map of serial I/O ...........................................................................................2-23
2.3.2 Related registers...........................................................................................................2-24
2.3.3 Serial I/O connection examples ..................................................................................2-30
2.3.4 Setting of serial I/O transfer data format ................................................................. 2-32
2.3.5 Serial I/O application examples ..................................................................................2-33
2.4 PWM ........................................................................................................................................2-53
2.4.1 Memory map of PWM ..................................................................................................2-53
2.4.3 PWM output circuit application example................................................................... 2-56
2.5 A-D converter........................................................................................................................ 2-59
2.5.1 Memory map of A-D conversion .................................................................................2-59
2.5.2 Related registers...........................................................................................................2-60
2.5.3 A-D conversion application example ..........................................................................2-62
2.6 Processor mode ...................................................................................................................2-64
2.6.1 Memory map of processor mode................................................................................2-64
2.6.2 Related register.............................................................................................................2-64
2.6.3 Processor mode application examples...................................................................... 2-65
2.7 Reset....................................................................................................................................... 2-69
2.7.1 Connection example of reset IC .................................................................................2-69
CHAPTER 3. APPENDIX
3.1 Electrical characteristics ......................................................................................................3-2
3.1.1 Absolute maximum ratings ............................................................................................3-2
3.1.2 Recommended operating conditions.............................................................................3-2
3.1.3 Electrical characteristics.................................................................................................3-3