Hitachi H8/3664 Hardware Manual page 204

Table of Contents

Advertisement

Contention between Compare Match A and B: If compare match A and B occur
simultaneously, any conflict between the output selections for compare match A and compare
match B is resolved by following the priority order in table 11.5.
Table 11.5 Timer Output Priority Order
Output Setting
Toggle output
1 output
0 output
No change
Internal Clock Switching and Counter Operation: Depending on the timing, TCNTV may be
incremented by a switch between different internal clock sources. Table 11.5 shows the relation
between internal clock switchover timing (by writing to bits CKS1 and CKS0) and TCNTV
operation.
When TCNTV is internally clocked, an increment pulse is generated from the falling edge of an
internal clock signal, which is divided from the system clock (ø). For this reason, in a case like No.
3 in table 11.6 where the switch is from a high clock signal to a low clock signal, the switchover is
seen as a falling edge, causing TCNTV to increment.
TCNTV can also be incremented by a switch between internal and external clocks.
188
Priority
High
Low

Advertisement

Table of Contents
loading

Table of Contents