|
M38203M4 Datasheet, PDF (129/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 Y counter initial value + 1)
Timer mode operation example
â¢UF : Underflow
â¢RL : Reload
â¢n : The Y counter initial value
Timer Y stop
control bit
Count
source
Writing â1â Writing â0â
RL
RL
RL
RL Count stop
n16
Count restart
UF
UF
UF
UF
000016
T
Time
Timer Y interrupt
request bit
1
1
1
1
Timer Y interrupt
enable bit
1 : â¢Clearing by writing â0â to the timer Y interrupt request bit.
â¢Clearing by accepting the timer Y interrupt request when the timer Y interrupt enable
bit is â1.â
Fig. 2.3.6 Timer mode operation example
3820 GROUP USERâS MANUAL
2â43
|
▷ |