TMP86xy44UG Toshiba, TMP86xy44UG Datasheet - Page 85

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
8.3 Function
8.3.5 Pulse Width Measurement Mode
TC1 pin, and counts up at the edge of the internal clock. Either the rising or falling edge of the internal clock is
selected as the trigger edge in TC1CR<TC1S>. Either the single- or double-edge capture is selected as the trig-
ger edge in TC1CR<MCAP1>.
In the pulse width measurement mode, the up-counter starts counting by the input pulse triggering of the
Note 1: The captured value must be read from TC1DRB until the next trigger edge is detected. If not read, the cap-
Note 2: For the single-edge capture, the counter after capturing the value stops at “1” until detecting the next edge.
Note 3: The first captured value after the timer starts may be read incorrectively, therefore, ignore the first captured
• When TC1CR<MCAP1> is set to “1” (single-edge capture)
• When TC1CR<MCAP1> is set to “0” (double-edge capture)
tured value becomes a don’t care. It is recommended to use a 16-bit access instruction to read the captured
value from TC1DRB.
Therefore, the second captured value is “1” larger than the captured value immediately after counting
starts.
value.
width, set the rising edge to TC1CR<TC1S>. To measure the low-level input pulse width, set the
falling edge to TC1CR<TC1S>.
the up-counter captures the up-counter value into TC1DRB and generates an INTTC1 interrupt
request. The up-counter is cleared at this time, and then restarts counting when detecting the trigger
edge used to start counting.
cycle starting with the high-going pulse, set the rising edge to TC1CR<TC1S>. To measure the cycle
starting with the low-going pulse, set the falling edge to TC1CR<TC1S>.
the up-counter captures the up-counter value into TC1DRB and generates an INTTC1 interrupt
request. The up-counter continues counting up, and captures the up-counter value into TC1DRB and
generates an INTTC1 interrupt request when detecting the trigger edge used to start counting. The
up-counter is cleared at this time, and then continues counting.
Either high- or low-level input pulse width can be measured. To measure the high-level input pulse
When detecting the edge opposite to the trigger edge used to start counting after the timer starts,
The cycle starting with either the high- or low-going input pulse can be measured. To measure the
When detecting the edge opposite to the trigger edge used to start counting after the timer starts,
Page 74
TMP86CS44UG

Related parts for TMP86xy44UG