CP3UB17G38 NSC [National Semiconductor], CP3UB17G38 Datasheet - Page 140
CP3UB17G38
Manufacturer Part Number
CP3UB17G38
Description
CP3UB17 Reprogrammable Connectivity Processor with USB Interface
Manufacturer
NSC [National Semiconductor]
Datasheet
1.CP3UB17G38.pdf
(200 pages)
- Current page: 140 of 200
- Download datasheet (3Mb)
www.national.com
22.3
Each 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 48 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
Sys. Int.
I/O
TIMER INTERRUPTS
TAEN = 0
TBEN = X
TAEN = 1
TBEN = X
TAPND
TBPND
TCPND
TDPND
Interrupt
Pending
TBEN
TAEN
Bit
TCNT1 reload from TCRA Input capture on TA transition TCNT1 reload from TCRA
TCNT1 reload from TCRB Input Capture on TB
N/A
TCNT2 underflow
No Output
Toggle Output on
Underflow of TCNT1
PWM + Counter
PWM + Counter
Table 48 Timer Interrupts Overview
Mode 1
Mode 1
Table 49 Timer I/O Functions
140
transition
TCNT1 underflow
TCNT2 underflow
Capture TCNT1 into TCRA
Capture TCNT1 into TCRA
and Preset TCNT1
22.4
Table 49 shows the functions of the the TA pin in each oper-
ating 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 or 3 (in other words,
when TCRA is not used in Capture mode).
Dual Input Capture +
Dual Input Capture +
Counter
counter
Mode 2
Mode 2
TIMER I/O FUNCTIONS
N/A
N/A
TCNT2 reload from TCRB
No Output Toggle
Toggle Output on Underflow
of TCNT1
Dual Counter
Dual Counter
Mode 3
Mode 3
Related parts for CP3UB17G38
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Thin SOT23 1A Load Step-Down DC-DC Regulator
Manufacturer:
NSC [National Semiconductor]
Datasheet:
Part Number:
Description:
TRI-STATE Dual Receiver
Manufacturer:
NSC [National Semiconductor]
Datasheet:
Part Number:
Description:
Hex MOS Drivers
Manufacturer:
NSC [National Semiconductor]
Datasheet:
Part Number:
Description:
Printer Solenoid Driver
Manufacturer:
NSC [National Semiconductor]
Datasheet:
Part Number:
Description:
Quad High Current Peripheral Driver
Manufacturer:
NSC [National Semiconductor]
Datasheet:
Part Number:
Description:
(RS-422/RS-423) Line Drivers with TRI-STATE Outputs
Manufacturer:
NSC [National Semiconductor]
Datasheet:
Part Number:
Description:
Multipoint RS485/RS422 Transceivers/Repeaters
Manufacturer:
NSC [National Semiconductor]
Datasheet:
Part Number:
Description:
Low Power EIA-RS-485 Transceiver with Sleep Mode
Manufacturer:
NSC [National Semiconductor]
Datasheet:
Part Number:
Description:
BTL Handshake Transceiver
Manufacturer:
NSC [National Semiconductor]
Datasheet:
Part Number:
Description:
Octal 80-Bit Static Shift Register
Manufacturer:
NSC [National Semiconductor]
Datasheet:
Part Number:
Description:
PUSH BUTTON PULSE DIALER CIRCUITS
Manufacturer:
NSC [National Semiconductor]
Datasheet:
Part Number:
Description:
Hex Schmitt Trigger with Extended Input Voltage
Manufacturer:
NSC [National Semiconductor]
Datasheet:
Part Number:
Description:
Microprocessor Real Time Clock
Manufacturer:
NSC [National Semiconductor]
Datasheet:
Part Number:
Description:
Dual Line Receivers
Manufacturer:
NSC [National Semiconductor]
Datasheet:
Part Number:
Description:
Dual TRI-STATE Differential Line Driver
Manufacturer:
NSC [National Semiconductor]
Datasheet: