Datasheet
Section 13 Timer Connection
Rev. 4.00 Sep 27, 2006 page 399 of 1130
REJ09B0327-0400
Table 13.7 Examples of TCORB, TCR, and TCSR Settings
Register Bit(s) Abbreviation Contents Description
7CMIEB 0
6CMIEA 0
5OVIE 0
Interrupts due to compare-match and
overflow are disabled
4 and 3 CCLR1,
CCLR0
11 TCNT is cleared by the rising edge of the
external reset signal (inverse of the IVI
signal)
TCR in
TMR1
2 to 0 CKS2 to CKS0 101 TCNT is incremented on the rising edge of
the external clock (IHI signal)
TCSR in
TMR1
3 to 0 OS3 to OS0 0011
1001
Not changed by compare-match B; output
inverted by compare-match A (toggle
output)
or
when TCORB ≤ TCORA, 1 output on
compare-match B, 0 output on compare-
match A
TOCRB in TMR1 H'03
(example)
Compare-match on the 4th (example) rise
of the IHI signal after the rise of the
inverse of the IVI signal
0
1
2
3
4
5
TCNT
TCNT = TCORB (3)
IHI signal
IVI signal (PDC signal)
IVO signal
(without fall modification,
with IHI synchronization)
IVO signal
(with fall modification,
without IHI synchronization)
IVO signal
(with fall modification
and IHI synchronization)
Figure 13.7 Fall Modification/IHI Synchronization Timing Chart