EasyManuals Logo

NXP Semiconductors LPC11U3x User Manual

NXP Semiconductors LPC11U3x
523 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #356 background imageLoading...
Page #356 background image
UM10462 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2016. All rights reserved.
User manual Rev. 5.5 — 21 December 2016 356 of 523
NXP Semiconductors
UM10462
Chapter 16: LPC11U3x/2x/1x 32-bit counter/timers CT32B0/1
16.7.3 Timer Counter registers
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.
16.7.4 Prescale Register
The 32-bit Prescale Register specifies the maximum value for the Prescale Counter.
16.7.5 Prescale Counter Register
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,
the Timer Counter is incremented, and the Prescale Counter is reset on the next PCLK.
This causes the TC to increment on every PCLK when PR = 0, every 2 PCLKs when
PR = 1, etc.
1 CRST Counter reset. 0
0 Do nothing.
1 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.
31:2 - Reserved, user software should not write ones to
reserved bits. The value read from a reserved bit is not
defined.
NA
Table 320: Timer Control Register (TCR, address 0x4001 4004 (CT32B0) and 0x4001 8004
(CT32B1)) bit description
Bit Symbol Value Description Reset
value
Table 321: Timer counter registers (TC, address 0x4001 4008 (CT32B0) and 0x4001 8008
(CT32B1)) bit description
Bit Symbol Description Reset
value
31:0 TC Timer counter value. 0
Table 322: Prescale registers (PR, address 0x4001 400C (CT32B0) and 0x4001 800C
(CT32B1)) bit description
Bit Symbol Description Reset
value
31:0 PCVAL Prescaler value. 0
Table 323: Prescale registers (PC, address 0x4001 4010 (CT32B0) and 0x4001 8010
(CT32B1)) bit description
Bit Symbol Description Reset
value
31:0 PC Prescale counter value. 0

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the NXP Semiconductors LPC11U3x and is the answer not in the manual?

NXP Semiconductors LPC11U3x Specifications

General IconGeneral
BrandNXP Semiconductors
ModelLPC11U3x
CategoryMicrocontrollers
LanguageEnglish

Related product manuals