ADC Control Registers
744
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
Analog To Digital Converter (ADC) Module
19.11.17 ADC Event Group Threshold Interrupt Control Register (ADEVTHRINTCR)
ADC Event Group Threshold Interrupt Control Register (ADEVTHRINTCR) is shown in
and
described in
Figure 19-37. ADC Event Group Threshold Interrupt Control Register (ADEVTHRINTCR)
[offset = 40h]
31
16
15
9
8
0
Reserved
Sign Extension
EV_THR
R-0
R-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 19-22. ADC Event Group Threshold Interrupt Control Register (ADEVTHRINTCR)
Field Descriptions
Bit
Field
Value
Description
31-16
Reserved
0
Reads return zeros, writes have no effect.
15-9
Sign Extension
These bits always read the same as the bit 8 of this register.
8-0
EV_THR
Event Group Threshold Counter.
Before ADC conversions begin on the Event Group, this field is initialized to the number of
conversion results that the Event Group memory should contain before interrupting the CPU. This
counter decrements when the ADC module writes a new conversion result to the Event Group
results’ memory. The counter increments for each read of a conversion result from the Event Group
results’ memory in the “read from FIFO” mode. The threshold counter is not affected for a direct
read from the Event Group results’ memory. Also, a simultaneous ADC write and a CPU/DMA read
from the Event Group FIFO will leave the threshold counter unchanged. In case of an Event Group
Results’ memory overrun condition, if new conversion results are not allowed to overwrite the
existing memory contents, then the Event Group threshold counter is not decremented.
Please refer to
for more details on the threshold interrupts.
19.11.18 ADC Group1 Threshold Interrupt Control Register (ADG1THRINTCR)
ADC Group1 Threshold Interrupt Control Register (ADG1THRINTCR) is shown in
and
described in
Figure 19-38. ADC Group1 Threshold Interrupt Control Register (ADG1THRINTCR) [offset = 44h]
31
16
15
9
8
0
Reserved
Sign Extension
G1_THR
R-0
R-0
R/W-0
LEGEND: R/W = Read/Write; R = Read only; -
n
= value after reset
Table 19-23. ADC Group1 Threshold Interrupt Control Register (ADG1THRINTCR)
Field Descriptions
Bit
Field
Value
Description
31-16
Reserved
0
Reads return zeros, writes have no effect.
15-9
Sign Extension
These bits always read the same as the bit 8 of this register.
8-0
G1_THR
Group1 Threshold Counter.
Before ADC conversions begin on the Group1, this field is initialized to the number of conversion
results that the Group1 memory should contain before interrupting the CPU. This counter
decrements when the ADC module writes a new conversion result to the Group1 results’ memory.
The counter increments for each read of a conversion result from the Group1 results’ memory in the
“read from FIFO” mode. The threshold counter is not affected for a direct read from the group1
results’ memory. Also, a simultaneous ADC write and a CPU/DMA read from the Group1 FIFO will
leave the threshold counter unchanged. In case of an Group1 Results’ memory overrun condition, if
new conversion results are not allowed to overwrite the existing memory contents, then the Group1
threshold counter is not decremented.
Please refer to
for more details on the threshold interrupts.