4500/720 Series 720 Family Models 4513, 4514 Group User's Manual

ii
4513/4514 Group User’s Manual
CHAPTER 2 APPLICATION
2.1 I/O pins ....................................................................................................................................2-2
2.1.1 I/O ports .......................................................................................................................... 2-2
2.1.2 Related registers ............................................................................................................ 2-4
2.1.3 Port application examples............................................................................................. 2-7
2.1.4 Notes on use ..................................................................................................................2-9
2.2 Interrupts ............................................................................................................................... 2-11
2.2.1 Interrupt functions ........................................................................................................ 2-11
2.2.2 Related registers .......................................................................................................... 2-13
2.2.3 Interrupt application examples.................................................................................... 2-16
2.2.4 Notes on use ................................................................................................................ 2-25
2.3 Timers .................................................................................................................................... 2-26
2.3.1 Timer functions............................................................................................................. 2-26
2.3.2 Related registers .......................................................................................................... 2-27
2.3.3 Timer application examples ........................................................................................ 2-30
2.3.4 Notes on use ................................................................................................................ 2-39
2.4 Serial I/O................................................................................................................................2-40
2.4.1 Carrier functions ........................................................................................................... 2-40
2.4.2 Related registers .......................................................................................................... 2-41
2.4.3 Operation description................................................................................................... 2-42
2.4.4 Serial I/O application example ................................................................................... 2-45
2.4.5 Notes on use ................................................................................................................ 2-48
2.5 A-D converter ....................................................................................................................... 2-49
2.5.1 Related registers .......................................................................................................... 2-50
2.5.2 A-D converter application examples.......................................................................... 2-51
2.5.3 Notes on use ................................................................................................................ 2-52
2.6 Voltage comparator............................................................................................................. 2-54
2.6.1 Voltage comparator function....................................................................................... 2-54
2.6.2 Related registers .......................................................................................................... 2-54
2.6.3 Notes on use ................................................................................................................ 2-55
2.7 Reset....................................................................................................................................... 2-56
2.7.1 Reset circuit .................................................................................................................. 2-56
2.7.2 Internal state at reset ..................................................................................................2-57
2.8 Voltage drop detection circuit.......................................................................................... 2-58
2.9 RAM back-up ........................................................................................................................ 2-59
2.9.1 RAM back-up mode ..................................................................................................... 2-59
2.9.2 Related register ............................................................................................................ 2-60
2.9.3 Notes on use ................................................................................................................ 2-62
2.10 Oscillation circuit .............................................................................................................. 2-63
2.10.1 Oscillation circuit ........................................................................................................ 2-63
2.10.2 Oscillation operation .................................................................................................. 2-64
2.10.3 Notes on use .............................................................................................................. 2-64
Table of contents