RTI Control Registers
608
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
Real-Time Interrupt (RTI) Module
17.3.19 RTI Compare 2 Register (RTICOMP2)
The compare 2 register holds the value to be compared to the counters. This register is shown in
and described in
.
Figure 17-30. RTI Compare 2 Register (RTICOMP2) [offset = 60h]
31
16
COMP2
R/WP-0
15
0
COMP2
R/WP-0
LEGEND: R/W = Read/Write; WP = Write in privileged mode only; -
n
= value after reset
Table 17-20. RTI Compare 2 Register (RTICOMP2) Field Descriptions
Bit
Field
Value
Description
31-0
COMP2
0-FFFF FFFFh
Compare 2. This register holds a value that is compared with the counter selected in the
compare control logic. If RTIFRC0 or RTIFRC1, depending on the counter selected, matches
this compare value, an interrupt is flagged. With this register, it is possible to initiate a DMA
request.
A read of this register will return the current compare value.
A write to this register (in privileged mode only) will provide a new compare value.
17.3.20 RTI Update Compare 2 Register (RTIUDCP2)
The update compare 2 register holds the value to be added to the compare register 2 value on a compare
match. This register is shown in
and described in
Figure 17-31. RTI Update Compare 2 Register (RTIUDCP2) [offset = 64h]
31
16
UDCP2
R/WP-0
15
0
UDCP2
R/WP-0
LEGEND: R/W = Read/Write; WP = Write in privileged mode only; -
n
= value after reset
Table 17-21. RTI Update Compare 2 Register (RTIUDCP2) Field Descriptions
Bit
Field
Value
Description
31-0
UDCP2
0-FFFF FFFFh
Update compare 2. This register holds a value that is added to the value in the RTICOMP2
register each time a compare matches. This process makes it possible to generate periodic
interrupts without software intervention.
A read of this register will return the value to be added to the RTICOMP2 register on the next
compare match.
A write to this register will provide a new update value.