Datasheet

Rev. 3.00 Mar. 15, 2006 Page xiv of xxxii
12.3.4 Timer Control/Status Register V (TCSRV)...................................................... 170
12.3.5 Timer Control Register V1 (TCRV1)............................................................... 172
12.4 Operation .......................................................................................................................... 173
12.4.1 Timer V Operation............................................................................................ 173
12.5 Timer V Application Examples ........................................................................................ 176
12.5.1 Pulse Output with Arbitrary Duty Cycle........................................................... 176
12.5.2 Pulse Output with Arbitrary Pulse Width and Delay from TRGV Input.......... 177
12.6 Usage Notes...................................................................................................................... 178
Section 13 Timer W...........................................................................................181
13.1 Features............................................................................................................................. 181
13.2 Input/Output Pins.............................................................................................................. 184
13.3 Register Descriptions........................................................................................................ 184
13.3.1 Timer Mode Register W (TMRW) ................................................................... 185
13.3.2 Timer Control Register W (TCRW) ................................................................. 186
13.3.3 Timer Interrupt Enable Register W (TIERW) .................................................. 187
13.3.4 Timer Status Register W (TSRW).................................................................... 188
13.3.5 Timer I/O Control Register 0 (TIOR0)............................................................. 189
13.3.6 Timer I/O Control Register 1 (TIOR1)............................................................. 191
13.3.7 Timer Counter (TCNT)..................................................................................... 192
13.3.8 General Registers A to D (GRA to GRD)......................................................... 193
13.4 Operation .......................................................................................................................... 194
13.4.1 Normal Operation ............................................................................................. 194
13.4.2 PWM Operation................................................................................................ 199
13.5 Operation Timing.............................................................................................................. 204
13.5.1 TCNT Count Timing ........................................................................................ 204
13.5.2 Output Compare Timing................................................................................... 205
13.5.3 Input Capture Timing........................................................................................ 206
13.5.4 Timing of Counter Clearing by Compare Match.............................................. 206
13.5.5 Buffer Operation Timing .................................................................................. 207
13.5.6 Timing of IMFA to IMFD Flag Setting at Compare Match ............................. 208
13.5.7 Timing of IMFA to IMFD Setting at Input Capture ......................................... 209
13.5.8 Timing of Status Flag Clearing......................................................................... 209
13.6 Usage Notes...................................................................................................................... 210
Section 14 Timer Z............................................................................................213
14.1 Features............................................................................................................................. 213
14.2 Input/Output Pins.............................................................................................................. 218
14.3 Register Descriptions........................................................................................................ 219
14.3.1 Timer Start Register (TSTR) ............................................................................ 220