784
Chapter 38 Reload Timer
5.Operation
5.3 External Event Clock Reload Mode
External event reload mode counts external events and outputs a pulse with a 50% duty ratio.
(1) Set reload value to reload register
(2) Enable reload timer count operation
(3) TOT pin output
(4) Generate reload trigger (activation): software trigger only
(5) Load reload value
(6) TOT pin output (initial value)
(7) Counter count down (external event synchronous)
(9) TOT pin output level reversal
(10) Reload reload value
(11) Repeat steps (6) to (9)
(See “8. Caution (Page No.794)”.)
FFFF
-1
0000
-1
0000
-1
T = CLKP
OUTL=0
OUTL=1
TMRLR
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(5)
(10)
Reload
data
Load
data
Reload
data
[Reload register setting value + 1]
Count start
Count
Reload data
External event (clock)
Activation trigger
(Soft only)
Underflow
Data load
0 (Min)
When RELD=1
Toggle output
Counter
TOT output waveform
CNTE bit
Repeat