tmp86fp24 TOSHIBA Semiconductor CORPORATION, tmp86fp24 Datasheet - Page 94

no-image

tmp86fp24

Manufacturer Part Number
tmp86fp24
Description
8 Bit Microcontroller
Manufacturer
TOSHIBA Semiconductor CORPORATION
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
tmp86fp24F
Manufacturer:
Toshiba
Quantity:
10 000
Part Number:
tmp86fp24FG
Manufacturer:
Toshiba
Quantity:
10 000
(3) Capture mode
(Non-inverting input)
this mode, which can be used in decoding the remote control signals or distinguishing
AC 50/60 Hz, etc. The TC3 pin input can have its polarity changed between normal and
inverse by using the TC3SEL Register.
a. If TC3SEL<TC3INV>
clock.
into TC3DRB. When the rising edge is detected, the counter value is loaded into
TC3DRA, and the counter is cleared, generating an INTTC3 interrupt.
to TC3DRB and an INTTC3 interrupt occurs only on capture to TC3DRA. If a read
instruction is executed for TC3DRB, the value that exists at the end of the previous
capture (immediately after a reset, “FF”) is read.
b. If TC3SEL<TC3INV>
into TC3DRB. When the falling edge is detected, the counter value is loaded into
TC3DRA, and the counter is cleared, generating an INTTC3 interrupt.
value is not captured into TC3DRB and an INTTC3 interrupt occurs only on capture to
TC3DRA. If a read instruction is executed for TC3DRB, the value that exists at end of
the previous capture (Immediately after a reset, “FF”) is read.
period selected by TC3CR<TC3CK>.
generated, setting “FFH” to TC3DRA and clearing the counter. It is possible to confirm
whether the overflow has occurred or not by reading TC3DRA in interrupt routine.
After generating of interrupt, the capture function and overflow detection stop until
the TC3DRA is read, but the counting is continued. Because the capture function and
overflow detection are restarted by reading TC3DRA, read the TC3DRB before the
reading TC3DRA.
(Inverting input)
<TC3INV>
In this mode, the pulse width, period and duty of the TC3 pin input are measured in
Once command operation has started, the counter free runs on an internal source
When the falling edge of the TC3 pin input is detected, the counter value is loaded
If the rising edge is detected right after command operation has started, no capture
Once command operation has started, the counter free-runs on an internal clock.
When the rising edge of the TC3 pin input is detected, the counter value is loaded
If the falling edge is detected right after command operation has started, the counter
The minimum acceptable input pulse width is equal to the length of one source clock
When the overflow occurs before detecting the edge, the INTTC3 interrupt is
TC3SEL
“0”
“1”
Table 2.8.3 TC3INV-based Capture Input Edges
Capture into
Falling edge
Rising edge
TC3DRB
“0” (Non-inverting input)
“1” (inverse input)
86FP24-92
Capture into
TC3DRA
Falling edge
Rising edge
INTTC3 Interrupt
TMP86FP24
2007-08-24

Related parts for tmp86fp24