Download Print this page

Switching Of Internal Clock And Frc Operation - Renesas H8S Family Hardware Manual

Advertisement

Section 10 16-Bit Free-Running Timer (FRT)
Figure 10.11 Conflict between OCR Write and Compare-Match
10.5.4

Switching of Internal Clock and FRC Operation

When the internal clock is changed, the changeover may source FRC to increment. This depends
on the time at which the clock is switched (bits CKS1 and CKS0 are rewritten), as shown in table
10.2.
When an internal clock is used, the FRC clock is generated on detection of the falling edge of the
internal clock scaled from the system clock (φ). If the clock is changed when the old source is high
and the new source is low, as in case no. 3 in table 10.2, the changeover is regarded as a falling
edge that triggers the FRC clock, and FRC is incremented. Switching between an internal clock
and external clock can also source FRC to increment.
Rev. 1.00 Mar. 12, 2008 Page 388 of 1178
REJ09B0403-0100
φ
Address
Internal write signal
OCRAR (OCRAF)
Compare-match signal
FRC
OCR
Automatic addition is not performed
because compare-match signals are disabled.
(When Automatic Addition Function is Used)
OCRAR (OCRAF)
address
Old data
New data
Disabled
N
N
N+1

Advertisement

loading

This manual is also suitable for:

R4f2472R4f2462H8s/2462H8s/2400 seriesH8s/2472