|
M38203M4 Datasheet, PDF (172/344 Pages) Mitsubishi Electric Semiconductor – 8-BIT SINGLE-CHIP MICROCOMPUTER | |||
|
◁ |
APPLICATION
2.4 Timer 1, timer 2, and timer 3
Count period
Count period T (s) = 1 ÷ count source frequency ! (the counter initial value + 1)
Operation example in timer mode
â¢UF : Underflow
â¢RL : Reload
â¢n : The counter initial value
Count
source
RL
RL
RL
RL
n16
UF
UF
UF
UF
0016
T
Interrupt
request bit
Time
1
1
1
1
Interrupt
enable bit
1 : â¢Clearing by writing â0â to the corresponding interrupt request bit of the timers 1 to 3.
â¢Clearing by accepting the corresponding interrupt request of the timers 1 to 3 when
the corresponding interrupt enable bit is â1.â
Fig. 2.4.1 Timer mode operation example
2â86
3820 GROUP USERâS MANUAL
|
▷ |