Lucent Technologies MN10285K Manual De Usuario
Timers
16-Bit Timer Setup Examples
Panasonic Semiconductor Development Company
MN102H75K/F75K/85K/F85K LSI User Manual
122
Panasonic
■
To service the interrupts:
Run the interrupt service routine. The routine must determine the interrupt group,
then clear the interrupt request flag.
Either the TM5IA or TM5IB signal can control the timer 5 count direction. The
count direction is determined at the opposite edge from the count edge (at the
source clock transition occurring in the middle of the count cycle.).
source clock transition occurring in the middle of the count cycle.).
Timer 5 does not operate in STOP mode, when B
OSC
is off. If you use an external
clock, it must be synchronized to B
OSC
.
Figure 4-51 shows an example timing chart. In this example, an interrupt occurs
when the timer switches from down to up counting.
Figure 4-51 External Count Direction Control Timing (Timer 5)
TM5CA
TM5CB
TM5BC
TM5IA
Interrupt
0000
1FFF
1FFF
1001
1000
0FFF
0002
0001
0000
1FFE
1FFE
1FFD
1FFF
1000
B
B
OSC
/4