UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 1.3 — 6 July 2012
913 of 1269
NXP Semiconductors
UM10503
Chapter 32: LPC43xx Repetitive Interrupt Timer (RIT)
32.5.2 RI Mask register
32.5.3 RI Control register
32.5.4 RI Counter register
Table 758. RI Mask register (MASK - address 0x400C 0004) bit description
Bit
Symbol
Description
Reset
value
31:0
RIMASK
Mask register. This register holds the 32-bit 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 759. RI Control register (CTRL - address 0x400C 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 COMPVAL and MASK 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.
1
RITENCLR
Timer enable clear
1
The timer will be cleared to 0 whenever the counter value
equals the masked compare value specified by the contents
of COMPVAL and MASK registers. This will occur on the
same clock that sets the interrupt flag.
0
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, user software should not write ones to reserved
bits. The value read from a reserved bit is not defined.
NA
Table 760. RI Counter register (COUNTER - address 0x400C 000C) bit description
Bit
Symbol
Description
Reset
value
31:0
RICOUNTER
32-bit up counter. Counts continuously unless RITEN bit in CTRL
register is cleared or debug mode is entered (if enabled by the
RITNEBR bit in CTRL). Can be loaded to any value in software.
0