p2125vps20 Renesas Electronics Corporation., p2125vps20 Datasheet - Page 336

no-image

p2125vps20

Manufacturer Part Number
p2125vps20
Description
16-bit Single-chip Microcomputer H8s Family / H8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 13 8-Bit Timer (TMR)
13.9.4
If compare-matches A and B occur at the same time, the operation follows the output status that is
defined for compare-match A or B, according to the priority of the timer output shown in table
13.6.
Table 13.6 Timer Output Priorities
13.9.5
TCNT may increment erroneously when the internal clock is switched over. Table 13.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 13.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.
Rev. 1.00 Sep. 21, 2006 Page 298 of 658
REJ09B0310-0100
Output Setting
Toggle output
1 output
0 output
No change
Conflict between Compare-Matches A and B
Switching of Internal Clocks and TCNT Operation
Priority
High
Low

Related parts for p2125vps20