ii
38K0 Group User’s Manual
Table of contents
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 External bus interface(EXB) .............................................................................................. 2-70
2.7 A-D converter ....................................................................................................................... 2-71
2.7.1 Memory map ................................................................................................................. 2-71
2.7.2 Related registers .......................................................................................................... 2-71
2.7.3 A-D converter application examples .......................................................................... 2-74
2.7.4 Notes on A-D converter .............................................................................................. 2-76
2.8 Watchdog timer .................................................................................................................... 2-77
2.8.1 Memory map ................................................................................................................. 2-77
2.8.2 Related registers .......................................................................................................... 2-77
2.8.3 Watchdog timer application examples ..................................................................... 2-79
2.8.4 Notes on watchdog timer ............................................................................................ 2-80
2.9 Reset ....................................................................................................................................... 2-81
2.9.1 Connection example of reset IC ................................................................................ 2-81
____________
2.9.2 Notes on RESET pin ................................................................................................... 2-82
2.10 Frequency synthesizer (PLL) .......................................................................................... 2-83
2.10.1 Memory map ............................................................................................................... 2-83
2.10.2 Related registers ........................................................................................................ 2-83
2.10.3 Functional description ................................................................................................ 2-85
2.10.4 Notes on PLL ............................................................................................................. 2-88
2.11 Clock generating circuit .................................................................................................. 2-89
2.11.1 Memory map ............................................................................................................... 2-89
2.11.2 Related registers ........................................................................................................ 2-89
2.11.3 Oscillation control ....................................................................................................... 2-91
2.12 Standby function ............................................................................................................... 2-94
2.12.1 Memory map ............................................................................................................... 2-94
2.12.2 Related registers ........................................................................................................ 2-94
2.12.3 Stop mode ................................................................................................................... 2-95
2.12.4 Wait mode ................................................................................................................... 2-99
2.12.5 Notes on stand-by function ..................................................................................... 2-101
2.13 Flash memory ................................................................................................................... 2-102
2.13.1 Overview .................................................................................................................... 2-102
2.13.2 Memory map ............................................................................................................. 2-102
2.13.3 Related registers ...................................................................................................... 2-103
2.13.4 Parallel I/O mode ..................................................................................................... 2-104
2.13.5 Standard serial I/O mode ........................................................................................ 2-104
2.13.6 CPU rewrite mode ................................................................................................... 2-105
2.13.7 Flash memory mode application examples .......................................................... 2-106
2.13.8 Notes on CPU rewrite mode .................................................................................. 2-111