Conflict Between Ocr Write And Compare-Match; Figure 12.19 Conflict Between Ocr Write And Compare-Match (When Automatic Addition Function Is Not Used) - Renesas H8S/2158 User Manual

16-bit single-chip microcomputer h8s family/h8s/2100 series
Table of Contents

Advertisement

12.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 12.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 12.20 shows the timing for this type of
conflict.
Figure 12.19 Conflict between OCR Write and Compare-Match
Write cycle of OCR
T 1
φ
Address
OCR address
Internal write
signal
FRC
OCR
Compare-match
signal
(When Automatic Addition Function Is Not Used)
Section 12 16-Bit Free-Running Timer (FRT)
T 2
N
N + 1
N
M
Write data
Disabled
Rev. 3.00 Jan 25, 2006 page 311 of 872
REJ09B0286-0300

Advertisement

Table of Contents
loading

Table of Contents