OM13008,598 NXP Semiconductors, OM13008,598 Datasheet - Page 256

no-image

OM13008,598

Manufacturer Part Number
OM13008,598
Description
BOARD LPC XPRESSO LPC122X
Manufacturer
NXP Semiconductors
Series
LPCXpressor
Datasheets

Specifications of OM13008,598

Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
568-6642
OM13008
NXP Semiconductors
Table 234. Register overview: 32-bit counter/timer 0 CT32B0 (base address 0x4001 8000)
[1]
Table 235. Register overview: 32-bit counter/timer 1 CT32B1 (base address 0x4001 C000)
UM10441
User manual
Name
PC
MCR
MR0
MR1
MR2
MR3
CCR
CR0
CR1
CR2
CR3
EMR
-
CTCR
PWMC
Name
IR
TCR
TC
Reset value reflects the data stored in used bits only. It does not include reserved bits content.
Access
R/W
R/W
R/W
Access Address
R/W
R/W
R/W
R/W
R/W
R/W
R/W
RO
RO
RO
RO
R/W
-
R/W
R/W
offset
0x000
0x004
0x008
offset
0x010
0x014
0x018
0x01C
0x020
0x024
0x028
0x02C
0x030
0x034
0x038
0x03C
0x040 -
0x06C
0x070
0x074
Address
Description
Prescale Counter. The 32-bit PC is a counter which is incremented to
the value stored in PR. When the value in PR is reached, the TC is
incremented and the PC is cleared. The PC is observable and
controllable through the bus interface.
Match Control Register. The MCR is used to control if an interrupt is
generated and if the TC is reset when a Match occurs.
Match Register 0. MR0 can be enabled through the MCR to reset the
TC, stop both the TC and PC, and/or generate an interrupt every time
MR0 matches the TC.
Match Register 1. See MR0 description.
Match Register 2. See MR0 description.
Match Register 3. See MR0 description.
Capture Control Register. The CCR controls which edges of the capture
inputs are used to load the Capture Registers and whether or not an
interrupt is generated when a capture takes place.
Capture Register 0. CR0 is loaded with the value of TC when there is an
event on the CT32B0_CAP0 input.
Capture Register 1. CR1 is loaded with the value of TC when there is an
event on the CT32B0_CAP1 input.
Capture Register 2. CR2 is loaded with the value of TC when there is an
event on the CT32B0_CAP2 input.
Capture Register 3. CR3 is loaded with the value of TC when there is an
event on the CT32B3_CAP3 input.
External Match Register. The EMR controls the match function and the
external match pins CT32Bn_MAT[3:0].
reserved
Count Control Register. The CTCR selects between Timer and Counter
mode, and in Counter mode selects the signal and edge(s) for counting.
PWM Control Register. The PWMCON enables PWM mode for the
external match pins CT32Bn_MAT[3:0].
Description
Interrupt Register. The IR can be written to clear interrupts. The IR can
be read to identify which of eight possible interrupt sources are pending.
Timer Control Register. The TCR is used to control the Timer Counter
functions. The Timer Counter can be disabled or reset through the TCR.
Timer Counter. The 32-bit TC is incremented every PR+1 cycles of
PCLK. The TC is controlled through the TCR.
All information provided in this document is subject to legal disclaimers.
Rev. 1.1 — 10 March 2011
Chapter 14: LPC122x 32-bit Counter/timer 0/1 (CT32B0/1)
…continued
UM10441
© NXP B.V. 2011. All rights reserved.
Reset
value
0
0
0
0
0
0
0
0
0
0
0
0
-
0
0
Reset
value
0
0
0
256 of 442
[1]
[1]

Related parts for OM13008,598