CP3UB17G38 NSC [National Semiconductor], CP3UB17G38 Datasheet - Page 141
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: 141 of 200
- Download datasheet (3Mb)
22.5
Table 50 lists the CPU-accessible registers used to control
the Multi-Function Timers.
22.5.1
The TPRSC register is a byte-wide, read/write register that
holds the current value of the 5-bit clock prescaler (CLKPS).
This register is cleared on reset. The register format is
shown below.
CLKPS
7
TPRSC
TCNT1
TCNT2
TCTRL
TICLR
Name
TCKC
TCRA
TCRB
TICTL
Reserved
Table 50 Multi-Function Timer Registers
TIMER REGISTERS
Clock Prescaler Register (TPRSC)
The Clock Prescaler field specifies the divisor
used to generate the Timer Clock from the
System Clock. When the timer is configured to
use the prescaled clock, the System Clock is
divided by (CLKPS + 1) to produce the timer
clock. Therefore, the System Clock divisor
can range from 1 to 32.
5
FF FF4Ah
FF FF4Ch
FF FF4Eh
FF FF48h
FF FF40h
FF FF46h
FF FF42h
FF FF44h
FF FF50h
Address
4
CLKPS
Clock Unit Control
Reload/Capture A
Reload/Capture B
Timer/Counter 1
Timer/Counter 2
Control Register
Control Register
Clock Prescaler
Timer Interrupt
Timer Interrupt
Clear Register
Description
Timer Mode
Register
Register
Register
Register
Register
Register
0
141
22.5.2
The TCKC register is a byte-wide, read/write register that
selects the clock source for each timer/counter. Selecting
the clock source also starts the counter. This register is
cleared on reset, which disables the timer/counters. The
register format is shown below.
C1CSEL
C2CSEL
* Operation of the Slow Clock is determined by the CRC-
TRL.SCLK control bit, as described in Section 11.9.1.
22.5.3
The TCNT1 register is a word-wide, read/write register that
holds the current count value for Timer/Counter 1. The reg-
ister contents are not affected by a reset and are unknown
after power-up.
22.5.4
The TCNT2 register is a word-wide, read/write register that
holds the current count value for Timer/Counter 2. The reg-
ister contents are not affected by a reset and are unknown
after power-up.
15
15
Reserved
7
Clock Unit Control Register (TCKC)
Timer/Counter 1 Register (TCNT1)
Timer/Counter 2 Register (TCNT2)
6
The Counter 1 Clock Select field specifies the
clock mode for Timer/Counter 1 as follows:
000 – No clock (Timer/Counter 1 stopped,
001 – Prescaled System Clock.
010 – Reserved.
011 – Reserved.
100 – Slow Clock.*
101 – Reserved.
110 – Reserved.
111 – Reserved.
The Counter 2 Clock Select field specifies the
clock mode for Timer/Counter 2 as follows:
000 – No clock (Timer/Counter 2 stopped,
001 – Prescaled System Clock.
010 – Reserved.
011 – Reserved.
100 – Slow Clock*
101 – Reserved.
110 – Reserved.
111 – Reserved.
5
modes 1, 2, and 3 only).
modes 1, 2, and 3 only).
C2CSEL
TCNT1
TCNT2
3
2
www.national.com
C1CSEL
0
0
0
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: