Download Operation of Timer A (Timer Mode, Gate Function)

Transcript
M16C/Tiny Series
Operation of Timer A (Timer Mode, Gate Function)
n = reload register content
FFFF16
(3) Underflow
(4) Stop count
(1) Start count
n
Counter content (hex)
(2) Stop count
Start count again
000016
Set to “1” by program
Set to “0” by program
Set to “1” by program
“1”
Count start flag
“0”
“1”
TAiIN pin input signal
“0”
Set to “0” upon accepting an interrupt request or by writing in program.
Timer Ai interrupt “1”
request bit “0”
Figure 1. Operation Timing of Timer Mode, Gate Function Selected
REJ05B0607-0100/Rev.1.00
May 2005
Page 2 of 7