|
3822_03 Datasheet, PDF (115/328 Pages) Renesas Technology Corp – 8-BIT SINGLE-CHIP MICROCOMPUTER | |||
|
◁ |
APPLICATION
2.3 Timer X and timer Y
Pulse width
Pulse width H(s) = 1 ÷ count source frequency ! (the Y counter initial value â the Y counter value immediately before reload)
Operation example in pulse width HL continuously measurement mode
â¢RL : Reload
â¢n : The Y counter initial value
â¢m : The Y counter value immediately before reload
Timer Y stop
control bit
Count
source
P55/CNTR1 pin
CNTR1 active
edge switch bit
RL
RL
RL
n16
m16
000016
CNTR1 interrupt
request bit
CNTR1 interrupt
enable bit
Timer Y interrupt
request bit
Timer Y interrupt
enable bit
H
H
Time
1
1
1
1 : â¢Clearing by writing â0â to the CNTR1 interrupt request bit.
â¢Clearing by accepting the CNTR1 interrupt request when the CNTR1 interrupt enable
bit is â1.â
Fig. 2.3.9 Pulse width HL continuously measurement mode operation example
3822 GROUP USERâS MANUAL
2â49
|
▷ |