
397
12.7.9
Contention between TGR Write and Compare Match
If a compare-match occurs in the T
2
state of the TGR write cycle, data is written to the TGR and a
compare-match signal is issued (figure 12.84).
TGR
Compare
match signal
TCNT
Address
Write signal
φ
T
1
T
2
TGR write cycle
TGR address
N
N + 1
M
N
TGR write data
Figure 12.84 TGR Write and Compare Match Contention
12.7.10
TCNT2 Write and Overflow/Underflow Contention in Cascade Connection
With timer counters TCNT1 and TCNT2 in a cascade connection, when a contention occurs
during TCNT1 count (during a TCNT2 overflow/underflow) in the T
2
state of the TCNT2 write
cycle, the write to TCNT2 is conducted, and the TCNT1 count signal is prohibited. At this point, if
there is match with TGR1A or TGR1B and the TCNT1 value, a compare signal is issued. The
timing is shown in figure 12.85.
For cascade connections, be sure to synchronize settings for channels 1 and 2 when setting TCNT
clearing.
Summary of Contents for SH7041 Series
Page 2: ......
Page 6: ......
Page 38: ...xvi ...
Page 44: ...6 ...
Page 46: ...8 ...
Page 48: ...10 ...
Page 82: ...44 ...
Page 114: ...76 ...
Page 118: ...80 ...
Page 124: ...86 ...
Page 170: ...132 ...
Page 250: ...212 ...
Page 492: ...454 ...
Page 506: ...468 ...
Page 604: ...566 ...
Page 684: ...646 ...
Page 706: ...668 ...
Page 778: ...740 ...
Page 780: ...742 ...
Page 818: ...780 ...
Page 850: ...812 ...
Page 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...