TMP86xy44UG Toshiba, TMP86xy44UG Datasheet - Page 96

no-image

TMP86xy44UG

Manufacturer Part Number
TMP86xy44UG
Description
Manufacturer
Toshiba
Datasheet

Specifications of TMP86xy44UG

Package
QFP44
Rom Types (m=mask,p=otp,f=flash)
M/P
Rom Size
60
Ram Size
1K
Driver Led
19
Driver Lcd
-
Spi/sio Channels
1
Uart/sio Channels
1
I2c/sio Channels
-
High-speed Serial Output
-
Adc 8-bit Channels
-
Adc 10-bit Channels
8
Da Converter Channels
1
Timer Counter 18-bit Channel
-
Timer Counter 16-bit Channel
2
Timer Counter 8-bit Channel
2
Motor Channels
-
Watchdog Timer
Y
Dual Clock
Y
Clock Gear
-
Number Of I/o Ports
35
Power Supply (v)
4.5 to 5.5
Example :Sets the event counter mode and generates an INTTC2 interrupt 640 counts later.
9.3.2 Event counter mode
9.3.3 Window mode
TC2 pin input
Counter
TC2DR
INTTC2 interrupt
pared with the contents of the up counter. If a match is found, an INTTC2 interrupt is generated, and the
counter is cleared. Counting up is resumed every the rising edge of the TC2 pin input after the up counter is
cleared.
the falling edge after the match of TC2DR and up counter.
for both the “H” and “L” levels of the pulse width.
(Window pulse) is “H” level. The contents of TC2DR are compared with the contents of up counter. If a match
found, an INTTC2 interrupt is generated, and the up-counter is cleared.
by the TC2CR<TC2CK>.
In this mode, events are counted on the rising edge of the TC2 pin input. The contents of TC2DR are com-
Match detect is executed on the falling edge of the TC2 pin. Therefore, an INTTC2 interrupt is generated at
The minimum input pulse width of TC2 pin is shown in Table 9-2. Two or more machine cycles are required
In this mode, counting up performed on the rising edge of an internal clock during TC2 external pin input
The maximum applied frequency (TC2 input) must be considerably slower than the selected internal clock
Note:It is not available window mode in the SLOW/SLEEP mode. Therefore, at the window mode in NORMAL
mode, the timer should be halted by setting TC2CR<TC2S> to "0" before the SLOW/SLEEP mode is entered.
Table 9-2 Timer/Counter 2 External Input Clock Pulse Width
Timer start
“H” width
“L” width
LDW
DI
SET
EI
LD
LD
Figure 9-3 Event Counter Mode Timing Chart
0
1
(TC2DR), 640
(EIRH). 5
(TC2CR), 00011100B
(TC2CR), 00111100B
NORMAL1/2, IDLE1/2 mode
2
2
2
3
3
/fc
/fc
n
Page 85
Minimum Input Pulse Width [s]
3
; Sets TC2DR
;Enables INTTC2 interrupt
; IMF= “1”
; TC2 source vclock / mode select
; Starts TC2
; IMF= “0”
Match detect
SLOW1/2, SLEEP1/2 mode
2
2
3
3
n
/fs
/fs
0
Counter clear
1
2
TMP86CS44UG
3

Related parts for TMP86xy44UG