DRAFT
DRAFT DRAFT DR
DRAFT DRAFT DRAFT
D
RAF
DRAFT DRAFT DRA
FT D
RAFT DR
AFT D
DRA
FT DRAFT DRAFT
D
RAFT
DRAFT
D
RAFT
DRA
UM10601
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
Preliminary user manual
Rev. 1.0 — 7 November 2012
143 of 313
NXP Semiconductors
UM10601
Chapter 11: LPC800 Multi-Rate Timer (MRT)
11.6.2 Timer register
The timer register holds the current timer value. This register is read-only.
11.6.3 Control register
The control register configures the the mode for each MRT and enables the interrupt.
Table 136. Timer register (TIMER[0:3], address 0x4000 4004 (TIMER0) to 0x4000 4034
(TIMER3)) bit description
Bit
Symbol Description
Reset
value
23:0
VALUE
Holds the current timer value of the down-counter. The initial value
of the TIMERn register is loaded as IVALUE - 1 from the INTVALn
register either at the end of the time interval or immediately in the
following cases:
INTVALn register is updated in the idle state.
INTVALn register is updated with LOAD = 1.
When the timer is in idle state, reading this bit fields returns -1
(0x00FF FFFF).
0x00FF
FFFF
31:24
-
Reserved.
0
Table 137. Control register (CTRL[0:3], address 0x4000 4008 (CTRL0) to 0x4000 4038
(CTRL3)) bit description
Bit
Symbol
Value
Description
Reset
value
0
INTEN
Enable the TIMERn interrupt.
0
0
Disable.
1
Enable.
2:1
MODE
Selects timer mode.
0
0x0
Repeat interrupt mode.
0x1
One-shot interrupt mode.
0x2
Reserved.
0x3
Reserved.
31:3
-
Reserved.
0