tmp88ps42ng TOSHIBA Semiconductor CORPORATION, tmp88ps42ng Datasheet - Page 97

no-image

tmp88ps42ng

Manufacturer Part Number
tmp88ps42ng
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
9.3.3 Event counter mode
with the CTC1CR1<CTC1SE> which is provided for selecting external trigger edge). When the counter value
and the set value of the CTC1DRA Register match, an INTCTC1 interrupt is generated and the counter is
cleared. After the counter is cleared, it restarts and continues counting up at each edge on CTC pin input. The
maximum applied frequency is shown in the table below. Because coincidence detection is made at an edge
opposite the selected edge, the external clock signal on CTC pin must always be entered.
In this mode, the timer/counter counts up at the active edge on CTC pin input (rising or falling edge selected
a) Successive
(II) When rising start edge is selected, with counting enabled on both edges
b) One Shot
CTC pin input
Internal clock
Counter
Timer
Register A
INTCTC1
interrupt
Internal clock
Counter
Timer
Register A
INTCTC1
interrupt
CTC pin input
( CTC1SE = 0, CTC1E = 1 )
When rising start edge is selected
CTC pin input
Counter
Timer Register
INTCTC1
interrupt
Figure 9-4 External Trigger Mode Timing Chart
Figure 9-5 Event Counter Mode Timing Chart
Count start
Count start
0
0
Trigger
Trigger
n
n
1
1
0
n
2
2
Command start
Count stop
m
n
Trigger
1
Page 87
Count start
Successive
One Shot
0
2
Trigger
0
1
Count start
2
Trigger
3
1
n - 1
4
Count clear
n
n - 1
5 0
Trigger
0
n
1
1
1
Note) m < n
2
2
3
TMP88PS42NG
3

Related parts for tmp88ps42ng