
UM10850
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2016. All rights reserved.
User manual
Rev. 2.4 — 13 September 2016
241 of 464
NXP Semiconductors
UM10850
Chapter 17: LPC5410x Multi-Rate Timer (MRT)
17.6.3 Control register (CTRL)
The control register configures the mode for each MRT and enables the interrupt.
17.6.4 Status register (STAT)
This register indicates the status of each MRT.
Table 283. Control register (CTRL[0:3], address 0x4007 4008 (CTRL0) to 0x4007 4038
(CTRL3)) bit description
Bit
Symbol
Value
Description
Reset value
0
INTEN
Enable the TIMERn interrupt.
0
0
Disabled. TIMERn interrupt is disabled.
1
Enabled. TIMERn interrupt is enabled.
2:1
MODE
Selects timer mode.
0
0x0
Repeat interrupt mode.
0x1
One-shot interrupt mode.
0x2
One-shot stall mode.
0x3
Reserved.
31:3
-
Reserved.
0
Table 284. Status register (STAT[0:3], address 0x4007 400C (STAT0) to 0x4007 403C (STAT3)) bit description
Bit
Symbol
Value
Description
Reset
value
0
INTFLAG
Monitors the interrupt flag.
0
0
No pending interrupt. Writing a zero is equivalent to no operation.
1
Pending interrupt. The interrupt is pending because TIMERn has reached the end of the
time interval. If the INTEN bit in the CONTROLn is also set to 1, the interrupt for timer
channel n and the global interrupt are raised.
Writing a 1 to this bit clears the interrupt request.
1
RUN
Indicates the state of TIMERn. This bit is read-only.
0
0
Idle state. TIMERn is stopped.
1
Running. TIMERn is running.
2
INUSE
Channel In Use flag. Operating details depend on the MULTITASK bit in the MODCFG
register, and affects the use of IDLE_CH. See
Section 17.6.6 “Idle channel register
for details of the two operating modes.
0
0
This channel
is not
in use.
1
This channel
is
in use.
31:2
-
Reserved.
0