cp3cn23 National Semiconductor Corporation, cp3cn23 Datasheet - Page 175
cp3cn23
Manufacturer Part Number
cp3cn23
Description
Cp3cn23 Reprogrammable Connectivity Processor With Dual Can Interfaces
Manufacturer
National Semiconductor Corporation
Datasheet
1.CP3CN23.pdf
(246 pages)
- Current page: 175 of 246
- Download datasheet (3Mb)
24.3
The Multi-Function Timer unit has four interrupt sources,
designated A, B, C, and D. Interrupt sources A, B, and C are
mapped into a single system interrupt called Timer Interrupt
1, while interrupt source D is mapped into a system interrupt
called Timer Interrupt 2. Each of the four interrupt sources
has its own enable bit and pending bit. The enable bits are
named TAIEN, TBIEN, TCIEN, and TDIEN. The pending
bits are named TAPND, TBPND, TCPND, and TDPND.
Timer Interrupts 1 and 2 are system interrupts TA and TB
(IRQ14 and IRQ13), respectively.
Table 67 shows the events that trigger interrupts A, B, C,
and D in each of the four operating modes. Note that some
interrupt sources are not used in some operating modes.
Timer
Int. 1
(TA Int.)
Timer
Int. 2
(TB Int.)
TA
TB
Sys. Int.
I/O
TAEN = 0
TBEN = X
TAEN = 1
TBEN = X
TAEN = X
TBEN = 0
TAEN = X
TBEN = 1
TIMER INTERRUPTS
TAPND
TBPND
TCPND
TDPND
Interrupt
Pending
TBEN
TAEN
Bit
No Output
Toggle Output on
Underflow of TCNT1
Ext. Event or Pulse
Accumulate Input
Ext. Event or Pulse
Accumulate Input
TCNT1 reload from
TCRA
TCNT1 reload from
TCRB
N/A
TCNT2 underflow
PWM + Counter
PWM + Counter
Mode 1
Mode 1
Table 67 Timer Interrupts Overview
Table 68 Timer I/O Functions
Capture TCNT1 into
TCRA
Capture TCNT1 into
TCRA and Preset
TCNT1
Capture TCNT1 into
TCRB
Capture TCNT1 into
TCRB and Preset
TCNT1
Input capture on TA
transition
Input Capture on TB
transition
TCNT1 underflow
TCNT2 underflow
Dual Input Capture +
Dual Input Capture +
counter
Mode 2
Counter
Mode 2
175
24.4
The Multi-Function Timer unit uses two I/O pins, called TA
and TB. The function of each pin depends on the timer op-
erating mode and the TAEN and TBEN enable bits. Table 68
shows the functions of the pins in each operating mode, and
for each combination of enable bit settings.
When the TA pin is configured to operate as a PWM output
(TAEN = 1), the state of the pin is toggled on each underflow
of the TCNT1 counter. In this case, the initial value on the
pin is determined by the TAOUT bit. For example, to start
with TA high, software must set the TAOUT bit before en-
abling the timer clock. This option is available only when the
timer is configured to operate in Mode 1, 3, or 4 (in other
words, when TCRA is not used in Capture mode).
TIMER I/O FUNCTIONS
No Output Toggle
Toggle Output on
Underflow of TCNT1
Ext. Event or Pulse
Accumulate Input
Ext. Event or Pulse
Accumulate Input
TCNT1 reload from
TCRA
N/A
TCNT2 reload from
TCRB
N/A
Dual Counter
Dual Counter
Mode 3
Mode 3
No Output Toggle
Toggle Output on
Underflow of TCNT1
Capture TCNT2 into
TCRB
Capture TCNT2 into
TCRB and Preset
TCNT2
TCNT1 reload from
TCRA
Input Capture on TB
transition
N/A
TCNT2 underflow
Single Capture +
Single Capture +
counter
www.national.com
Mode 4
Counter
Mode 4
Related parts for cp3cn23
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Freescale Semiconductor Technical Data
Manufacturer:
National Semiconductor Corporation
Datasheet:
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:
Part Number:
Description:
Pllatinum Tm Fractional N Rf / Integer N If Dual Low Power Frequency Synthesizer
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Pllatinum? 2.0 Ghz Frequency Synthesizer For Rf Personal Communications
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Pllatinumtm 160 Mhz Frequency Synthesizer For Rf Personal Communications
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Dual N-channel Enhancement Mode Field Effect Transistor
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Video Amplifier System (obsolete)
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Synchronous Step-up DC/DC Converter For White Led Applications
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
CLC420 - High Speed, Voltage Feedback op Amp, Package: Lcc, Pin Nb=20
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Monolithic Triple 4.5 CRT Driver
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Differential Video Amplifier
Manufacturer:
National Semiconductor Corporation
Datasheet:
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:
Part Number:
Description:
DS36277 - Dominant Mode Multipoint Transceiver, Package: Soic Narrow, Pin Nb=8
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Printer Solenoid Driver
Manufacturer:
National Semiconductor Corporation
Datasheet:
Part Number:
Description:
Quad High Speed Trapezoidal Bus Transceiver
Manufacturer:
National Semiconductor Corporation
Datasheet: