
– iii –
CHAPTER 6 CLOCK GENERATOR FUNCTION ................................................................................ 105
6.1
Features................................................................................................................................ 105
6.2
Configuration ....................................................................................................................... 105
6.3
Selecting Input Clock ......................................................................................................... 106
6.3.1
Direct mode ............................................................................................................................... 106
6.3.2
PLL mode .................................................................................................................................. 106
6.3.3
Clock control register (CKC)..................................................................................................... 107
6.4
PLL Lock-up......................................................................................................................... 108
6.5
Power Save Control ............................................................................................................ 109
6.5.1
General ...................................................................................................................................... 109
6.5.2
Control registers ........................................................................................................................ 111
6.5.3
HALT mode................................................................................................................................ 112
6.5.4
IDLE mode................................................................................................................................. 114
6.5.5
Software STOP mode ............................................................................................................... 116
6.6
Specifying Oscillation Stabilization Time ........................................................................ 118
6.7
Clock Output Control.......................................................................................................... 121
CHAPTER 7 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT).......................................... 123
7.1
Features................................................................................................................................ 123
7.2
Basic Configuration ............................................................................................................ 124
7.2.1
Timer 1....................................................................................................................................... 126
7.2.2
Timer 4....................................................................................................................................... 128
7.3
Control Registers ................................................................................................................ 129
7.4
Timer 1 Operation ............................................................................................................... 135
7.4.1
Count operation ......................................................................................................................... 135
7.4.2
Selecting count clock frequency............................................................................................... 135
7.4.3
Overflow..................................................................................................................................... 136
7.4.4
Clearing/starting timer by TCLR signal input........................................................................... 137
7.4.5
Capture operation...................................................................................................................... 138
7.4.6
Compare operation.................................................................................................................... 140
7.5
Timer 4 Operation ............................................................................................................... 142
7.5.1
Count operation ......................................................................................................................... 142
7.5.2
Selecting count clock frequency............................................................................................... 142
7.5.3
Overflow..................................................................................................................................... 142
7.5.4
Compare operation.................................................................................................................... 143
7.6
Application Examples......................................................................................................... 145
7.7
Note ....................................................................................................................................... 153
CHAPTER 8 SERIAL INTERFACE FUNCTION .................................................................................. 155
8.1
Features................................................................................................................................ 155
8.2
Asynchronous Serial Interface 0 and 1 (UART0 and UART1)....................................... 156
8.2.1
Features..................................................................................................................................... 156
8.2.2
Configuration of asynchronous serial interface ....................................................................... 157
8.2.3
Mode registers and control registers........................................................................................ 159
8.2.4
Interrupt request ........................................................................................................................ 165
8.2.5
Operation ................................................................................................................................... 166