www.ti.com
ADC Registers
939
SPNU563A–March 2018
Submit Documentation Feedback
Copyright © 2018, Texas Instruments Incorporated
Analog To Digital Converter (ADC) Module
Table 22-60. ADC Magnitude Compare Interrupt Control Registers (ADMAGINTxCR)
Field Descriptions
Field Value Description
Reserved 0 Reads return 0. 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.
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.
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).