tmp88fw45afg TOSHIBA Semiconductor CORPORATION, tmp88fw45afg Datasheet - Page 114

no-image

tmp88fw45afg

Manufacturer Part Number
tmp88fw45afg
Description
8 Bit Microcontroller Tlcs-870/x Series
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet
10.3
Function
10.3.2
selected with CTC1CR1<CTC1SE>). The source clock is an internal clock. For successive cycles, when the
counter value and the set value of the CTC1DRA Register match, an INTCTC1 interrupt is generated and the
counter is cleared and then restarted. The counter is stopped by a trigger input on CTC pin and restarted by the
next trigger input. For a one-shot cycle, when the counter value and the set value of the CTC1DRA Register
match, an INTCTC1 interrupt is generated and the counter is cleared and stopped. The counter restarts counting
up by input on CTC pin. When CTC1CR1<CTC1E> = 1, the counter is cleared and stops counting at an edge on
CTC pin input opposite the active edge that triggers the counter to start counting. In this mode, an interrupt can
be generated by entering a pulse which has a certain width. When CTC1CR1<CTC1E> = 0, opposite edges on
CTC input are ignored.
In this timer mode, the timer/counter starts counting as triggered by input on CTC pin (rising or falling edge
Timer mode with external trigger start
(I) When rising edge start is selected, with counting enabled on one edge
a) Successive
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 = 0 )
Figure 10-3 External Trigger Mode Timing Chart
Count start
Count start
0
0
Trigger
Trigger
n
n
1
1
2
2
n - 1
n - 1
Page 100
Successive
One Shot
n
n
1
Clear
Stop
0
2
Count start
3
Trigger
Stop
4
1
Trigger
2
3
4
Count start
1
5
Trigger
TMP88FW45AFG
2
6

Related parts for tmp88fw45afg