![NXP Semiconductors LPC43Sxx Скачать руководство пользователя страница 1083](http://html1.mh-extra.com/html/nxp-semiconductors/lpc43sxx/lpc43sxx_user-manual_17218271083.webp)
UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2015. All rights reserved.
User manual
Rev. 2.1 — 10 December 2015
1083 of 1441
NXP Semiconductors
UM10503
Chapter 35: LPC43xx/LPC43Sxx Repetitive Interrupt Timer (RIT)
35.5.1 RI Compare Value register
35.5.2 RI Mask register
35.5.3 RI Control register
Table 860. RI Compare Value register (COMPVAL - address 0x400C 0000) bit description
Bit
Symbol
Description
Reset value
31:0
RICOMP
Compare register. Holds the compare value which is
compared to the counter.
0xFFFF FFFF
Table 861. 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 862. 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