HD6412340 HITACHI [Hitachi Semiconductor], HD6412340 Datasheet - Page 407

no-image

HD6412340

Manufacturer Part Number
HD6412340
Description
H8S/2345 F-ZTAT Hardware Manual
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6412340TE20
Manufacturer:
SANYO
Quantity:
20 000
Part Number:
HD6412340TE20
Manufacturer:
HITACHI/日立
Quantity:
20 000
10.6.4
If compare match events A and B occur at the same time, the 8-bit timer operates in accordance
with the priorities for the output statuses set for compare match A and compare match B, as shown
in table 10.4.
Table 10.4 Timer Output Priorities
Output Setting
Toggle output
1 output
0 output
No change
10.6.5
TCNT may increment erroneously when the internal clock is switched over. Table 10.5 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 case 3 in
table 10.5, a TCNT clock pulse is generated on the assumption that the switchover is a falling
edge. This increments TCNT.
The erroneous incrementation can also happen when switching between internal and external
clocks.
Contention between Compare Matches A and B
Switching of Internal Clocks and TCNT Operation
Priority
High
Low
391

Related parts for HD6412340