English
Language : 

M38203M4 Datasheet, PDF (167/344 Pages) Mitsubishi Electric Semiconductor – 8-BIT SINGLE-CHIP MICROCOMPUTER
APPLICATION
2.3 Timer X and timer Y
Table 2.3.4 Table example for timer X setting value
RTP output time
T1
T2
T3
T4
T5
T6
T7
T8
Timer X setting value
2FD016
2B7116
208116
186916
13C916
13A916
122116
11C116
Table 2.3.5 Table example for RTP setting value
RTP output pattern
Œ

Ž

RTP setting values
TXM, b2
TXM, b3
0
0
0
1
1
0
1
1
[Notes on use]
Notes 1 : When there is no necessity for changing the timer X underflow time
in , omit it.
2 : When writing to the latch only is selected as the timer X write control,
the timer X value (TXL, TXH) is rewritten at the first underflow
after .
3 : Execute another timer X interrupt processing in Œ to .
Interrupt processing routine
Œ
Push to stack area
Transfer the next timer X underflow time from internal
 ROM table and store it in TXL (address 2016) and
TXH (address 2116).
Transfer RTP output data at the next timer X underflow
Ž from internal ROM table and store it in bits 2 and 3 of
TXM (address 2716) .

Pop from stack area
RTI
Fig. 2.3.43 Timer X interrupt processing procedure example when RTP is used
3820 GROUP USER’S MANUAL
2–81