Interval Timer Timing (Timers 1 And 2); Panasonic - Panasonic MN10285K User Manual

Panax series microcomputer
Table of Contents

Advertisement

In the bank and linear address-
ing versions of the MN102
series, it was necessary to set
TM0EN and TM0LD to 0
between steps 4 and 5, to
ensure stable operation. This is
unnecessary in the high-speed
linear addressing version.
Access TM2MD and TM1MD
with a 16-bit write, using the
MOV instruction, or set the two
registers consecutively, begin-
ning with TM2MD.
Panasonic Semiconductor Development Company
TM2MD (example)
Bit:
7
6
5
4
TM2
TM2
EN
LD
Setting:
0
1
0
0
5.
Set TM2LD to 0 and TM2EN to 1, then set TM1LD to 0 and TM1EN to 1.
This starts the timers. Counting begins at the start of the next cycle. When
both the timer 1 and 2 binary counters reach 0 and loads the values from the
base registers, in preparation for the next count, a timer 2 underflow inter-
rupt request is sent to the CPU. The timer 1 interrupt is unused.
B
/4
OSC
TM2,1BR
TM2,1BC
Timer 2
underflow
interrupt
Interrupt enable
Sequence
(1)
Figure 4-13 Interval Timer Timing (Timers 1 and 2)
86

Panasonic

3
2
1
0
TM2
TM2
S1
S0
0
0
1
0
00
00
EA5F
EA5E
EA5D
(2) (3) (4)
(5)
MN102H75K/F75K/85K/F85K LSI User Manual
Timers
8-Bit Timer Setup Examples
x'00FE22'
EA5F
0002
0001
0000
EA5F

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mn102f75kMn102f85kMn102h75kMn102h85k

Table of Contents