tmp88cs38ng TOSHIBA Semiconductor CORPORATION, tmp88cs38ng Datasheet - Page 65

no-image

tmp88cs38ng

Manufacturer Part Number
tmp88cs38ng
Description
Cmos 8-bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
TC1 pin input
Internal clock
Up counter
TC1DRA
INTTC1
interrupt
TC1 pin input
Internal clock
Up counter
TC1DRA
INTTC1
interrupt
TC1 pin input
Up counter
TC1DRA
INTTC1 interrupt
(3) Event counter mode
0
0
Count start
Count start
or falling edge can be selected with the external trigger TC1CR<TC1S>). The contents
of TC1DRA are compared with the contents of up counter. If a match is found, an
INTTC1 interrupt is generated, and the counter is cleared.
INTTC1 is not generated when the pulse is still in same state.
(Auto-capture function).
?
1
In this mode, events are counted at the edge of the TC1 pin input (Either the rising
Match detect is executed on other edge of count-up. A match can not be detected and
Setting ACAP1 to “1” transfers the current contents of up counter to TC1DRB
Count start
1
2
Figure 2.5.4 External Trigger Timer Mode Timing Chart
0
n
3
2
Table 2.5.2 Input Pulse Width for Timer/Counter 1
Figure 2.5.5 Event Counter Mode Timing Chart
3
1
n
n
4
“H” Width
“L” Width
2
Counter clear
(b) Trigger start and stop (METT1 = 1)
m − 1
(a) Trigger start (METT1 = 0)
Match detect
m
88CS38-65
n − 1 n
Match detect
Minimum Pulse Width [s]
0
Count start
n − 1
NORMAL/IDLE
Counter clear
n
2
2
1
3
3
/fc
/fc
0
Counter clear
2
0
3
TMP88CS38/CM38A/CP38A
1
Count start
Match detect
2
n − 1
1
TC1S = 10
at the falling
edge
TC1S = 10 at the
rising edge
n
2007-09-12
TC1S = 10
at the rising
edge
2
m < n
Counter clear
3
0

Related parts for tmp88cs38ng