tmp88fw45afg TOSHIBA Semiconductor CORPORATION, tmp88fw45afg Datasheet - Page 115

no-image

tmp88fw45afg

Manufacturer Part Number
tmp88fw45afg
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
10.3.3
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
Event counter mode
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
CTC pin input
Internal clock
Counter
Timer
Register A
INTCTC1
interrupt
( CTC1SE = 0, CTC1E = 1 )
When rising start edge is selected
CTC pin input
Counter
INTCTC1
interrupt
Timer Register
Figure 10-4 External Trigger Mode Timing Chart
Figure 10-5 Event Counter Mode Timing Chart
Count start
Count start
0
0
Trigger
Trigger
n
n
1
1
2
2
0
n
Command start
Count stop
m
n
Page 101
Trigger
1
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
TMP88FW45AFG
3
3

Related parts for tmp88fw45afg