Toshiba TC9349AFG Manual page 55

Cmos digital integrated circuit silicon monolithic
Table of Contents

Advertisement

2. Timer Counter Function
The timer counter consists of an 8-bit binary counter, a counter coincidence register, a digital comparator, and a control
circuit for controlling these items.
The timer counter function has a timer mode and a pulse width measurement mode.
The timer mode is a mode for detecting a regular time. The coincidence signal pulse is output and the interrupt request is
issued when the timer clock is input to the 8-bit binary counter and is in agreement with the contents of the counter
coincidence register. In pulse width measurement mode, measurement of pulse width and detection of pulse width are
performed through calculation of the timer counter between "H" or "L" levels input from the INTR1 pin. Pulse width
detection can be used to detect the leader pulse of remote controls.
For both timer mode and pulse width measurement mode, a timer clock of 25 kHz or 1 kHz can be used.
(1)
Timer counter register configuration
The timer counter register consists of counter data, a coincidence register and a control register.
φ L2A
Y1
Y2
ID0
ID1
Timer counter coincidence data
φ K2A
Y1
Y2
ID0
ID1
φ L 2D (Timer counter control)
Y1
Y2
Y4
CR
CK
PW
Disable
Note: This becomes invalid when the settings CR Disable = 1 and PW = 0 apply as above.
φ L2B
Y4
Y8
Y1
Y2
ID2
ID3
ID4
ID5
φ K2B
Y4
Y8
Y1
Y2
ID2
ID3
ID4
ID5
Timer counter data
Y8
CR
Timer counter reset
Enable counter reset by coincidence pulse.
Selection of timer mode and pulse width
measurement mode
Selection of timer clock
INTR1 control
Clock enable logic of INTR1 input signal
φ
(
L22)
(Effective only when CR Disable = 0 is set.)
POS1
NEG1
0
0
1
0
0
1
1
1
55
Y4
Y8
ID6
ID7
A coincidence pulse will be output if the data agrees with
the timer counter.
Y4
Y8
ID6
ID7
Timer counter data is read into data memory as binary data.
・・・
Whenever sets "1", counter is reset.
Reset condition of INTR1 input signal
(Effective only when CR Disable = 0
Not counted
Counted in "H" level
Counted in "L" level
Always in operation
TC9349AFG
"0" ・・・Enable
"1" ・・・Prohibition
"0"・・・Timer mode
"1"・・・Pulse width
measurement mode
"0"・・・25 kHz
"1"・・・1 kHz
is set.)
Falling edge
Rising edge
Both edges
2006-02-24

Advertisement

Table of Contents
loading

Table of Contents