Datasheet

Rev. 2.00 Sep. 28, 2009 Page xxx of xl
REJ09B0452-0200
12.6 Usage Notes ....................................................................................................................... 351
12.6.1 Conflict between TDPCNT Write and Count-Up Operation ................................ 351
12.6.2 Conflict between TDPPDMX Write and Compare Match.................................... 351
12.6.3 Conflict between Input Capture and TDPICR Read ............................................. 352
12.6.4 Conflict between Edge Detection in Cycle Measurement Mode and
Writing to the Upper Limit or Lower Limit Register ........................................... 352
12.6.5 Conflict between Edge Detection in Cycle Measurement Mode and
TDPMDS Bit Clearing.......................................................................................... 353
12.6.6 Settings for TDPCKI and TDPMCI...................................................................... 353
12.6.7 Setting for Module Stop Mode ............................................................................. 353
Section 13 8-Bit Timer (TMR)............................................................................355
13.1 Features.............................................................................................................................. 355
13.2 Input/Output Pins............................................................................................................... 358
13.3 Register Descriptions......................................................................................................... 359
13.3.1 Timer Counter (TCNT)......................................................................................... 360
13.3.2 Time Constant Register A (TCORA).................................................................... 361
13.3.3 Time Constant Register B (TCORB) .................................................................... 361
13.3.4 Timer Control Register (TCR).............................................................................. 362
13.3.5 Timer Control/Status Register (TCSR)................................................................. 367
13.3.6 Time Constant Register C (TCORC) .................................................................... 372
13.3.7 Input Capture Registers R and F (TICRR and TICRF)......................................... 372
13.3.8 Timer Connection Register I (TCONRI) .............................................................. 373
13.3.9 Timer Connection Register S (TCONRS) ............................................................ 373
13.3.10 Timer XY Control Register (TCRXY) ................................................................. 374
13.4 Operation ........................................................................................................................... 375
13.4.1 Pulse Output.......................................................................................................... 375
13.5 Operation Timing............................................................................................................... 376
13.5.1 TCNT Count Timing ............................................................................................ 376
13.5.2 Timing of CMFA and CMFB Setting at Compare-Match .................................... 377
13.5.3 Timing of Timer Output at Compare-Match......................................................... 377
13.5.4 Timing of Counter Clear at Compare-Match........................................................ 378
13.5.5 TCNT External Reset Timing............................................................................... 378
13.5.6 Timing of Overflow Flag (OVF) Setting .............................................................. 379
13.6 TMR_0 and TMR_1 Cascaded Connection....................................................................... 380
13.6.1 16-Bit Count Mode............................................................................................... 380
13.6.2 Compare-Match Count Mode ............................................................................... 380
13.7 TMR_Y and TMR_X Cascaded Connection ..................................................................... 381
13.7.1 16-Bit Count Mode............................................................................................... 381
13.7.2 Compare-Match Count Mode ............................................................................... 381