![Oki MSM85C154HVS User Manual Download Page 105](http://html1.mh-extra.com/html/oki/msm85c154hvs/msm85c154hvs_user-manual_3635106105.webp)
MSM80C154S/83C154S/85C154HVS
98
4.5.3.5 Timer/counter carry signal detector circuit
The detector circuit shown in Figure 4-25 is inserted between the MSM80C154S/ MSM83C154S
timer/counter carry output and the timer flag. The purpose of this detector is to prevent timer
flags being set by the timer carry signal during execution of OR, AND, EOR, RESET bit, SET
bit, or MOV bit instruction on the contents of the timer control register (TCON), and thereby
prevent loss of timer flags by manipulated data by the time execution of instruction has been
completed. Hence, even if a timer carry signal is generated during execution of an instruction,
that flag will not be set while the instruction is still being executed. The flag is set at
M2
·S1
during execution of the next instruction. If a timer carry is generated during M1 thru M3 when
executing a 4-machine cycle instruction, the timer flag is set during M3 or M4. See Figure 4-
26 for the time chart.
In case of driving the timer/counters 0 and 1 with the external clock in the power down mode
(PD, HPD), timer/counters 0 and 1 contents are incremented by falling edge of the external
clock. However, after counting the maximum value of timer/counters 0 and 1, carry signals
are generated and timer flags are set when the external clock level changes from “0” to “1“.
S2
PD & HPD
S1
M2
Timer flag
DETECTOR
S I/O CLOCK
Timer/counter carry
Figure 4-25 Timer/counter detector circuit
Figure 4- 26 Timer flag setting time chart
S1
S2
S3
S4
S5
S6
MACHINE CYCLE END
S1
S2
S3
S4
S5
S6
M1
S1
XTAL1
1
0
ALE
1
0
TIMER COUNT
1
0
DETECTOR OUT
1
0
TIMER FLAG
1
0
TIMER CARRY
1
0
S2
S6
Summary of Contents for MSM85C154HVS
Page 1: ...MSM80C154S MSM83C154S MSM85C154HVS USER S MANUAL...
Page 8: ...1 INTRODUCTION...
Page 9: ...MSM80C154S 83C154S 85C154HVS 2...
Page 15: ...MSM80C154S 83C154S 85C154HVS 8...
Page 16: ...2 SYSTEM CONFIGURATION...
Page 17: ...MSM80C154S 83C154S 85C154HVS 10...
Page 48: ...3 CONTROL...
Page 49: ...MSM80C154S 83C154S 85C154HVS 42...
Page 60: ...4 INTERNAL SPECIFICATIONS...
Page 61: ...MSM80C154S 83C154S 85C154HVS 54...
Page 197: ...MSM80C154S 83C154S 85C154HVS 190 5 INPUT OUTPUT PORTS...
Page 198: ...INPUT OUTPUT PORTS 191...
Page 220: ...INPUT OUTPUT PORTS 213...
Page 221: ...MSM80C154 83C154 85C154 214 6 ELECTRICAL CHARACTERISTICS...
Page 222: ...ELECTRICAL CHARACTERISTICS 215...
Page 236: ...7 DESCRIPTION OF INSTRUCTIONS...
Page 237: ...MSM80C154S 83C154S 85C154HVS 230...