H8S2110B RENESAS [Renesas Technology Corp], H8S2110B Datasheet - Page 242

no-image

H8S2110B

Manufacturer Part Number
H8S2110B
Description
Renesas 16-Bit Single-Chip Microcomputer Renesas H8S Family/H8S/2100 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Section 10 8-Bit Timer (TMR)
10.9.5
TCNT may increment erroneously when the internal clock is switched over. Table 10.7 shows the
relationship between the timing at which the internal clock is switched (by writing to the CKS1
and CKS0 bits) and the TCNT operation.
When the TCNT clock is generated from an internal clock, the falling edge of the internal clock
pulse is detected. If clock switching causes a change from high to low level, as shown in no. 3 in
table 10.7, a TCNT clock pulse is generated on the assumption that the switchover is a falling
edge, and TCNT is incremented.
Erroneous incrementation can also happen when switching between internal and external clocks.
Table 10.7 Switching of Internal Clocks and TCNT Operation
No.
1
2
Rev. 2.00 Mar 21, 2006 page 204 of 518
REJ09B0299-0200
Timing of Switchover
by Means of CKS1
and CKS0 Bits
Clock switching from low to
low level *
Clock switching from low to
high level
Switching of Internal Clocks and TCNT Operation
1
2
TCNT Clock Operation
Clock before
switchover
Clock after
switchover
TCNT
clock
TCNT
Clock before
switchover
Clock after
switchover
TCNT
clock
TCNT
N
N
CKS bit rewrite
N + 1
CKS bit rewrite
N + 1
N + 2

Related parts for H8S2110B