English
Language : 

M38203M4 Datasheet, PDF (121/344 Pages) Mitsubishi Electric Semiconductor – 8-BIT SINGLE-CHIP MICROCOMPUTER
APPLICATION
2.3 Timer X and timer Y
Count period
Count period T(s) = 1 ÷ count source frequency ! (the X counter initial value + 1)
Pulse output mode operation example
•UF : Underflow
•RL : Reload
•n : The X counter initial value
Timer X
stop control
bit
Count
source
Writing “1” Writing “0”
RL
RL
RL
RL Count stop
n16
Count restart
UF
UF
UF
UF
000016
Select pulse
T
output mode
P54/CNTR0 pin
Programmable
I/O port
CNTR0 active
edge switch bit
Time
CNTR0 interrupt
request bit
1
1
CNTR0 interrupt
enable bit
Timer X interrupt
request bit
1
1
1
1
Timer X interrupt
enable bit
1 : •Clearing by writing “0” to the timer X interrupt request bit or the CNTR0 interrupt request bit.
•Clearing by accepting the timer X interrupt request and the CNTR0 interrupt request when the
respective interrupt enable bits are “1.”
V : When the CNTR0 active edge switch bit is “1” ;
•The reverse-polarity pulse of above pulse is output.
•The CNTR0 interrupt request occurs at the rising edge of the output pulse.
Fig. 2.3.2 Pulse output mode operation example
3820 GROUP USER’S MANUAL
2–35