cp3ub17 National Semiconductor Corporation, cp3ub17 Datasheet - Page 139
![no-image](/images/no-image-200.jpg)
cp3ub17
Manufacturer Part Number
cp3ub17
Description
Reprogrammable Connectivity Processor With Usb Interface
Manufacturer
National Semiconductor Corporation
Datasheet
1.CP3UB17.pdf
(202 pages)
- Current page: 139 of 202
- Download datasheet (4Mb)
22.2.2
Mode 2 is the Input Capture mode, which measures the
elapsed time between occurrences of external events, and
which also provides a separate general-purpose timer/
counter.
Figure 51 is a block diagram of the Multi-Function Timer
configured to operate in Mode 2. The time base of the cap-
The TA input can be configured to preset the counter to
FFFFh on reception of a valid capture event. In this case,
the current value of the counter is transferred to the corre-
sponding capture register and then the counter is preset to
FFFFh. Using this approach allows software to determine
the on-time and off-time and period of an external signal
with a minimum of CPU overhead.
The values captured in the TCRA register at different times
reflect the elapsed time between transitions on the TA pin.
The input signal on the TA pin must have a pulse width equal
to or greater than one System Clock cycle.
There are two separate interrupts associated with the cap-
ture timer, each with its own enable bit and pending bit. The
interrupt events are reception of a transition on the TA pin
and underflow of the TCNT1 counter. The enable bits for
these events are TAIEN and TCIEN, respectively.
Mode 2: Input Capture
Timer 1
Timer 2
Clock
Clock
Timer/Counter 1
Timer/Counter 2
Capture A
TnCNT2
TCNT1
TCRA
Figure 51. Input Capture Mode
Preset
139
Underflow
Underflow
ture timer depends on Timer/Counter 1, which counts down
using the clock selected with the Timer/Counter 1 clock se-
lector. The TA pin functions as a capture input. A transition
received on the TA pin transfers the timer contents to the
TCRA register. The TA pin can be configured to sense either
rising or falling edges.
In Mode 2, Timer/Counter 2 (TCNT2) can be used as a sim-
ple system timer. The clock counts down using the clock se-
lected with the Timer/Counter 2 clock selector. It generates
an interrupt upon each underflow if the interrupt is enabled
with the TDIEN bit.
TAEN
TAPND
TCPND
TDPND
TCIEN
TDIEN
TAIEN
Timer
Interrupt 1
Timer
Interrupt 1
Timer
Interrupt 2
DS167
TA
www.national.com
Related parts for cp3ub17
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![mma1270keg](/images/no-image3.png)
Part Number:
Description:
Freescale Semiconductor Technical Data
Manufacturer:
National Semiconductor Corporation
Datasheet:
![ADC12034](/images/no-image3.png)
Part Number:
Description:
Self-calibrating 12-bit Plus Sign Serial I/o A/d Converters With Mux And Sample/hold
Manufacturer:
National Semiconductor Corporation
Datasheet:
![LMX2350](/images/no-image3.png)
Part Number:
Description:
Pllatinum Tm Fractional N Rf / Integer N If Dual Low Power Frequency Synthesizer
Manufacturer:
National Semiconductor Corporation
Datasheet:
![LMX2324](/images/no-image3.png)
Part Number:
Description:
Pllatinum? 2.0 Ghz Frequency Synthesizer For Rf Personal Communications
Manufacturer:
National Semiconductor Corporation
Datasheet:
![LMX2301](/images/no-image3.png)
Part Number:
Description:
Pllatinumtm 160 Mhz Frequency Synthesizer For Rf Personal Communications
Manufacturer:
National Semiconductor Corporation
Datasheet:
![NDS8963](/images/no-image3.png)
Part Number:
Description:
Dual N-channel Enhancement Mode Field Effect Transistor
Manufacturer:
National Semiconductor Corporation
Datasheet:
![LM1201](/images/no-image3.png)
Part Number:
Description:
Video Amplifier System (obsolete)
Manufacturer:
National Semiconductor Corporation
Datasheet:
![LM3501TL-16](/images/no-image3.png)
Part Number:
Description:
Synchronous Step-up DC/DC Converter For White Led Applications
Manufacturer:
National Semiconductor Corporation
Datasheet:
![AD9621](/images/no-image3.png)
Part Number:
Description:
CLC420 - High Speed, Voltage Feedback op Amp, Package: Lcc, Pin Nb=20
Manufacturer:
National Semiconductor Corporation
Datasheet:
![LM2403](/images/no-image3.png)
Part Number:
Description:
Monolithic Triple 4.5 CRT Driver
Manufacturer:
National Semiconductor Corporation
Datasheet:
![LM592M](/images/no-image3.png)
Part Number:
Description:
Differential Video Amplifier
Manufacturer:
National Semiconductor Corporation
Datasheet:
![ADC10061](/images/no-image3.png)
Part Number:
Description:
ADC10061 - 10-Bit 600 NS A/D Converter With Input Multiplexer And Sample/Hold, Package: Soic Wide, Pin Nb=20
Manufacturer:
National Semiconductor Corporation
Datasheet:
![DS36277TMX](/images/no-image3.png)
Part Number:
Description:
DS36277 - Dominant Mode Multipoint Transceiver, Package: Soic Narrow, Pin Nb=8
Manufacturer:
National Semiconductor Corporation
Datasheet:
![DS3654](/images/no-image3.png)
Part Number:
Description:
Printer Solenoid Driver
Manufacturer:
National Semiconductor Corporation
Datasheet:
![DS3662](/images/no-image3.png)
Part Number:
Description:
Quad High Speed Trapezoidal Bus Transceiver
Manufacturer:
National Semiconductor Corporation
Datasheet: