UM10429
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2010. All rights reserved.
User manual
Rev. 1 — 20 October 2010
121 of 258
NXP Semiconductors
UM10429
Chapter 13: LPC11102 32-bit counter/timers (CT32B0/1)
13.7.2 Timer Control Register (TMR32B0TCR and TMR32B1TCR)
The Timer Control Register (TCR) is used to control the operation of the counter/timer.
13.7.3 Timer Counter (TMR32B0TC - address 0x4001 4008 and
TMR32B1TC - address 0x4001 8008)
The 32-bit Timer Counter is incremented when the Prescale Counter reaches its terminal
count. Unless it is reset before reaching its upper limit, the TC will count up through the
value 0xFFFF FFFF and then wrap back to the value 0x0000 0000. This event does not
cause an interrupt, but a Match register can be used to detect an overflow if needed.
13.7.4 Prescale Register (TMR32B0PR - address 0x4001 400C and
TMR32B1PR - address 0x4001 800C)
The 32-bit Prescale Register specifies the maximum value for the Prescale Counter.
13.7.5 Prescale Counter Register (TMR32B0PC - address 0x4001 4010 and
TMR32B1PC - address 0x4001 8010)
The 32-bit Prescale Counter controls division of PCLK by some constant value before it is
applied to the Timer Counter. This allows control of the relationship between the resolution
of the timer and the maximum time before the timer overflows. The Prescale Counter is
incremented on every PCLK. When it reaches the value stored in the Prescale Register,
Table 117. Timer Control Register (TMR32B0TCR - address 0x4001 4004 and TMR32B1TCR -
address 0x4001 8004) bit description
Bit
Symbol
Description
Reset value
0
CEN
Counter Enable
When one, the Timer Counter and Prescale Counter are
enabled for counting. When zero, the counters are
disabled.
0
1
CRES
Counter Reset
When one, the Timer Counter and the Prescale Counter
are synchronously reset on the next positive edge of
PCLK. The counters remain reset until TCR[1] is
returned to zero.
0
31:2
-
Reserved, user software should not write ones to
reserved bits. The value read from a reserved bit is not
defined.
NA
Table 118. Timer counter registers (TMR32B0TC, address 0x4001 4008 and TMR32B1TC
0x4001 8008) bit description
Bit
Symbol
Description
Reset
value
31:0
TC
Timer counter value.
0
Table 119. Prescale registers (TMR32B0PR, address 0x4001 400C and TMR32B1PR
0x4001 800C) bit description
Bit
Symbol
Description
Reset
value
31:0
PR
Prescale counter max value.
0