Datasheet
Section 11 16-Bit Free-Running Timer (FRT)
Rev. 3.00 Mar 21, 2006 page 282 of 788
REJ09B0300-0300
11.7.3 Conflict between OCR Write and Compare-Match
If a compare-match occurs during the state after an OCRA or OCRB write cycle, the write takes
priority and the compare-match signal is disabled. Figure 11.19 shows the timing for this type of
conflict.
If automatic addition of OCRAR and OCRAF to OCRA is selected, and a compare-match occurs
in the cycle following the OCRA, OCRAR, and OCRAF write cycle, the OCRA, OCRAR and
OCRAF write takes priority and the compare-match signal is disabled. Consequently, the result of
the automatic addition is not written to OCRA. Figure 11.20 shows the timing for this type of
conflict.
φ
Address OCR address
Internal write
signal
Compare-match
signal
FRC
Write data
Disabled
OCR N M
NN + 1
T
1
T
2
Write cycle of OCR
Figure 11.19 Conflict between OCR Write and Compare-Match
(When Automatic Addition Function Is Not Used)