
User’s Manual U12768EJ4V1UD
13
5.9
Interrupt Control Register Bit Manipulation Instructions During DMA Transfer.............137
CHAPTER 6 CLOCK GENERATION FUNCTION ...............................................................................138
6.1
General ....................................................................................................................................138
6.2
Configuration ..........................................................................................................................139
6.3
Clock Output Function...........................................................................................................139
6.3.1
Control registers ........................................................................................................................ 140
6.4
Power Save Functions ...........................................................................................................143
6.4.1
General ..................................................................................................................................... 143
6.4.2
HALT mode ............................................................................................................................... 144
6.4.3
IDLE mode ................................................................................................................................ 147
6.4.4
Software STOP mode ............................................................................................................... 148
6.5
Oscillation Stabilization Time ...............................................................................................150
6.6
Cautions on Power Save Function .......................................................................................151
CHAPTER 7 TIMER/COUNTER FUNCTION ........................................................................................153
7.1
16-Bit Timers (TM0, TM1).......................................................................................................153
7.1.1
Outline....................................................................................................................................... 153
7.1.2
Functions................................................................................................................................... 153
7.1.3
Configuration............................................................................................................................. 155
7.1.4
Timer 0, 1 control registers........................................................................................................ 158
7.2
16-Bit Timer Operation...........................................................................................................166
7.2.1
Operation as interval timer (16 bits) .......................................................................................... 166
7.2.2
PPG output operation................................................................................................................ 168
7.2.3
Pulse width measurement ......................................................................................................... 169
7.2.4
Operation as external event counter ......................................................................................... 176
7.2.5
Operation to output square wave .............................................................................................. 178
7.2.6
Operation to output one-shot pulse ........................................................................................... 179
7.2.7
Cautions .................................................................................................................................... 184
7.3
8-Bit Timers (TM2 to TM5) .....................................................................................................189
7.3.1
Outline....................................................................................................................................... 189
7.3.2
Functions................................................................................................................................... 189
7.3.3
Configuration............................................................................................................................. 190
7.3.4
Timer n control register ............................................................................................................. 192
7.4
8-Bit Timer Operation.............................................................................................................197
7.4.1
Operation as interval timer (8-bit operation) .............................................................................. 197
7.4.2
Operation as external event counter ......................................................................................... 200
7.4.3
Operation as square wave output (8-bit resolution)................................................................... 201
7.4.4
Operation as 8-bit PWM output ................................................................................................. 202
7.4.5
Operation as interval timer (16 bits) .......................................................................................... 205
7.4.6
Cautions .................................................................................................................................... 207
CHAPTER 8 WATCH TIMER ................................................................................................................208
8.1
Functions ................................................................................................................................208
8.2
Configuration ..........................................................................................................................209
8.3
Watch Timer Control Register ..............................................................................................210