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
247 of 464
NXP Semiconductors
UM10850
Chapter 18: LPC5410x Repetitive Interrupt Timer (RIT)
18.5.4 RI Counter LSB register
18.5.5 RI Compare Value MSB register
18.5.6 RI Mask MSB register
1
RITENCLR
Timer enable clear
0
1
The timer will be cleared to 0 whenever the counter value equals the masked
compare value specified by the contents of COMPVAL/COMPVAL_H and
MASK/MASK_H registers. This will occur on the same clock that sets the
interrupt flag.
0
The timer will not be cleared to 0.
2
RITENBR
Timer enable for debug
1
1
The timer is halted when the processor is halted for debugging.
0
Debug has no effect on the timer operation.
3
RITEN
Timer enable.
1
1
Timer enabled.
Remark:
This can be overruled by a debug halt if enabled in bit 2.
0
Timer disabled.
31:4
-
-
Reserved. Read value is undefined, only zero should be written.
NA
Table 291. RI Control register (CTRL, address 0x4007 0008) bit description
Bit
Symbol
Value
Description
Reset value
Table 292. RI Counter register (COUNTER, address 0x4007 000C) bit description
Bit
Symbol
Description
Reset value
31:0
RICOUNTER
32 LSBs of the up counter. Counts continuously unless RITEN bit in CTRL register is
cleared or debug mode is entered (if enabled by the RITNEBR bit in RICTRL). Can be
loaded to any value in software.
0
Table 293. RI Compare Value MSB register (COMPVAL_H, address 0x4007 0010) bit description
Bit
Symbol
Description
Reset value
15:0
RICOMP
Compare value MSB register. Holds the 16 MSBs of the value which is compared to the
counter.
0x0000 FFFF
31:16
-
Reserved. Read value is undefined, only zero should be written.
-
Table 294. RI Mask MSB register (MASK_H, address 0x4007 0014) bit description
Bit
Symbol
Description
Reset value
15:0
RIMASK
Mask register. This register holds the 16 MSBs of the mask value. A one written to any bit
overrides the result of the comparison for the corresponding bit of the counter and
compare register (causes the comparison of the register bits to be always true).
0
31:16
-
Reserved. Read value is undefined, only zero should be written.
-