6.1.2 Block Diagram.........................................................................................................113
6.1.3 Input and Output Pins..............................................................................................115
6.1.4 Register Configuration ............................................................................................115
6.2 Register Descriptions............................................................................................................116
6.2.1 Free-Running Counter (FRC)—H'FF92..................................................................116
6.2.2 Output Compare Registers A and B (OCRA and OCRB)—H'FF94.......................117
6.2.3 Input Capture Registers A to D (ICRA to ICRD)—
H'FF98, H'FF9A, H'FF9C, H'FF9E.........................................................................117
6.2.4 Timer Interrupt Enable Register (TIER)—H'FF90 .................................................120
6.2.5 Timer Control/Status Register (TCSR)—H'FF91 ...................................................122
6.2.6 Timer Control Register (TCR)—H'FF96 ................................................................125
6.2.7 Timer Output Compare Control Register (TOCR)—H'FF97..................................127
6.3 CPU Interface .......................................................................................................................128
6.4 Operation ..............................................................................................................................130
6.4.1 FRC Incrementation Timing....................................................................................130
6.4.2 Output Compare Timing..........................................................................................132
6.4.3 Input Capture Timing ..............................................................................................133
6.4.4 Setting of FRC Overflow Flag (OVF).....................................................................136
6.5 Interrupts...............................................................................................................................137
6.6 Sample Application...............................................................................................................137
6.7 Application Notes.................................................................................................................138
Section 7. 8-Bit Timers.........................................................................................................143
7.1 Overview...............................................................................................................................143
7.1.1 Features....................................................................................................................143
7.1.2 Block Diagram.........................................................................................................143
7.1.3 Input and Output Pins..............................................................................................144
7.1.4 Register Configuration ............................................................................................145
7.2 Register Descriptions............................................................................................................145
7.2.1 Timer Counter (TCNT)—H'FFCC (TMR0), H'FFD4 (TMR1)...............................145
7.2.2 Time Constant Registers A and B (TCORA and TCORB)—
H'FFCA and H'FFCB (TMR0), H'FFD2 and H'FFD3 (TMR1)..............................146
7.2.3 Timer Control Register (TCR)—H'FFC8 (TMR0), H'FFD0 (TMR1)....................146
7.2.4 Timer Control/Status Register (TCSR)—H'FFC9 (TMR0), H'FFD1 (TMR1).......149
7.2.5 Serial/Timer Control Register (STCR)—H'FFC3...................................................151
7.3 Operation ..............................................................................................................................152
7.3.1 TCNT Incrementation Timing.................................................................................152
7.3.2 Compare Match Timing...........................................................................................153
iii