ADC Control Registers
778
SPNU503C – March 2018
Copyright © 2018, Texas Instruments Incorporated
Analog To Digital Converter (ADC) Module
Table 19-59. ADC Magnitude Compare Interrupt x Control Registers (ADMAGINTxCR)
Field Descriptions
Field
Value
Description
Reserved
0
Reads return zeros, writes have no effect.
MAG_CHIDx
These bits specify the channel number from 0 to 31 for which the conversion result needs to be
monitored by the ADC.
MAG_THRx
These bits specify the 12-bit or 10-bit compare value that the ADC will use for the comparison with the
MAG_CHIDx channel's conversion result.
Reserved
0
Reads return zeros, writes have no effect.
COMP_CHIDx
These bits specify the channel number from 0 to 31 whose last conversion result is compared with the
MAG_CHIDx channel's conversion result.
Reserved
0
Reads return zeros, writes have no effect.
CHN_THR_COMPx
Channel OR Threshold comparison.
Any operation mode read/write:
0
The ADC module will compare the MAG_CHIDx channel's conversion result with the fixed threshold
value specified by the MAG_THRx field
1
The ADC module will compare the MAG_CHIDx channel's conversion result with the last conversion
result for the COMP_CHIDx channel.
Both the MAG_CHIDx and the COMP_CHIDx channel must have been converted at least once for the
ADC to perform the comparison.
CMP_GE_LTx
"Greater than or equal to" OR "Less than" comparison operator.
Any operation mode read/write:
0
The ADC module will check if the conversion result is lower than the reference value (fixed threshold
or COMP_CHIDx conversion result).
1
The ADC module will check if the conversion result is greater than or equal to the reference value
(fixed threshold or COMP_CHIDx conversion result).