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
246 of 464
NXP Semiconductors
UM10850
Chapter 18: LPC5410x Repetitive Interrupt Timer (RIT)
18.5 Register description
[1]
Reset Value reflects the data stored in used bits only. It does not include content of reserved bits.
18.5.1 RI Compare Value LSB register
18.5.2 RI Mask LSB register
18.5.3 RI Control register
Table 288. Register overview: Repetitive Interrupt Timer (RIT) (base address 0x4007 0000)
Name
Access
Offset
Description
Reset value
Reference
COMPVAL
R/W
0x000
Compare value LSB register. Holds the 32 LSBs of the
compare value.
0xFFFF FFFF
MASK
R/W
0x004
Mask LSB register. This register holds the 32 LSB s of the
mask value. A 1 written to any bit will force the compare to
be true for the corresponding bit of the counter and
compare register.
0
CTRL
R/W
0x008
Control register.
0xC
COUNTER
R/W
0x00C
Counter LSB register. 32 LSBs of the counter.
0
COMPVAL_H
R/W
0x010
Compare value MSB register. Holds the 16 MSBs of the
compare value.
0x0000 FFFF
MASK_H
R/W
0x014
Mask MSB register. This register holds the 16 MSBs of
the mask value. A ‘1’ written to any bit will force a
compare on the corresponding bit of the counter and
compare register.
0
COUNTER_H
R/W
0x01C
Counter MSB register. 16 MSBs of the counter.
0
Table 289. RI Compare Value LSB register (COMPVAL, address 0x4007 0000) bit description
Bit
Symbol
Description
Reset value
31:0
RICOMP
Compare register. Holds the 32 LSBs of the value which is compared to the counter.
0xFFFF FFFF
Table 290. RI Mask LSB register (MASK, address 0x4007 0004) bit description
Bit
Symbol
Description
Reset value
31:0
RIMASK
Mask register. This register holds the 32 LSBs 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
Table 291. RI Control register (CTRL, address 0x4007 0008) bit description
Bit
Symbol
Value
Description
Reset value
0
RITINT
Interrupt flag
0
1
This bit is set to 1 by hardware whenever the counter value equals the masked
compare value specified by the contents of RICOMPVAL and RIMASK registers.
Writing a 1 to this bit will clear it to 0. Writing a 0 has no effect.
0
The counter value does not equal the masked compare value.