
ii
38K2 Group User’s Manual
Table of contents
2.2.7 Key input interrupt ....................................................................................................... 2-19
2.2.8 Notes on interrupts ...................................................................................................... 2-21
2.3 Timer ....................................................................................................................................... 2-23
2.3.1 Memory map ................................................................................................................. 2-23
2.3.2 Related registers .......................................................................................................... 2-23
2.3.3 Timer application examples ........................................................................................ 2-28
2.3.4 Notes on timer .............................................................................................................. 2-39
2.4 Serial I/O ................................................................................................................................ 2-40
2.4.1 Memory map ................................................................................................................. 2-40
2.4.2 Related registers .......................................................................................................... 2-41
2.4.3 Serial I/O connection examples ................................................................................. 2-45
2.4.4 Setting of serial I/O transfer data format ................................................................. 2-47
2.4.5 Serial I/O application examples ................................................................................. 2-48
2.4.6 Notes on serial I/O ...................................................................................................... 2-66
2.5 USB function ........................................................................................................................ 2-69
2.6 HUB function ........................................................................................................................ 2-70
2.7 External bus interface(EXB) .............................................................................................. 2-71
2.8 A-D converter ....................................................................................................................... 2-72
2.8.1 Memory map ................................................................................................................. 2-72
2.8.2 Related registers .......................................................................................................... 2-72
2.8.3 A-D converter application examples .......................................................................... 2-75
2.8.4 Notes on A-D converter .............................................................................................. 2-77
2.9 Watchdog timer .................................................................................................................... 2-78
2.9.1 Memory map ................................................................................................................. 2-78
2.9.2 Related registers .......................................................................................................... 2-78
2.9.3 Watchdog timer application examples ..................................................................... 2-80
2.9.4 Notes on watchdog timer ............................................................................................ 2-81
2.10 Reset .................................................................................................................................... 2-82
2.10.1 Connection example of reset IC .............................................................................. 2-82
____________
2.10.2 Notes on RESET pin ................................................................................................. 2-83
2.11 Frequency synthesizer (PLL) .......................................................................................... 2-84
2.11.1 Memory map ............................................................................................................... 2-84
2.11.2 Related registers ........................................................................................................ 2-84
2.11.3 Functional description ................................................................................................ 2-86
2.11.4 Notes on PLL ............................................................................................................. 2-89
2.12 Clock generating circuit .................................................................................................. 2-90
2.12.1 Memory map ............................................................................................................... 2-90
2.12.2 Related registers ........................................................................................................ 2-90
2.12.3 Oscillation control ....................................................................................................... 2-92
2.13 Standby function ............................................................................................................... 2-95
2.13.1 Memory map ............................................................................................................... 2-95
2.13.2 Related registers ........................................................................................................ 2-95
2.13.3 Stop mode ................................................................................................................... 2-96
2.13.4 Wait mode ................................................................................................................. 2-100
2.13.5 Notes on stand-by function ..................................................................................... 2-102
2.14 Flash memory ................................................................................................................... 2-103
2.14.1 Overview .................................................................................................................... 2-103
2.14.2 Memory map ............................................................................................................. 2-103
2.14.3 Related registers ...................................................................................................... 2-104
2.14.4 Parallel I/O mode ..................................................................................................... 2-105
2.14.5 Standard serial I/O mode ........................................................................................ 2-105
2.14.6 CPU rewrite mode ................................................................................................... 2-106