English
Language : 

LM3S5D91 Datasheet, PDF (682/1340 Pages) Texas Instruments – Stellaris® LM3S5D91 Microcontroller
Analog-to-Digital Converter (ADC)
Bit/Field
4
3:2
1:0
Name
CIE
CIC
CIM
Type
R/W
R/W
R/W
Reset
0
Description
Comparison Interrupt Enable
Value Description
1 Enables the comparison interrupt. The ADC conversion data is
used to determine if an interrupt should be generated according
to the programming of the CIC and CIM fields.
0 Disables the comparison interrupt. ADC conversion data has
no effect on interrupt generation.
0x0
Comparison Interrupt Condition
This field specifies the operational region in which an interrupt is
generated when the ADC conversion data is compared against the
values of COMP0 and COMP1. The COMP0 and COMP1 fields are defined
in the ADCDCCMPx registers.
Value Description
0x0 Low Band
ADC Data < COMP0 ≤ COMP1
0x1 Mid Band
COMP0 ≤ ADC Data < COMP1
0x2 reserved
0x3 High Band
COMP0 < COMP1 ≤ ADC Data
0x0
Comparison Interrupt Mode
This field specifies the mode by which the interrupt comparison is made.
Value Description
0x0 Always
This mode generates an interrupt every time the ADC conversion
data falls within the selected operational region.
0x1 Once
This mode generates an interrupt the first time that the ADC
conversion data enters the selected operational region.
0x2 Hysteresis Always
This mode generates an interrupt when the ADC conversion
data falls within the selected operational region and continues
to generate the interrupt until the hysteresis condition is cleared
by entering the opposite operational region.
Note that the hysteresis modes are only defined for CTC
encodings of 0x0 and 0x3.
0x3 Hysteresis Once
This mode generates an interrupt the first time that the ADC
conversion data falls within the selected operational region. No
additional interrupts are generated until the hysteresis condition
is cleared by entering the opposite operational region.
Note that the hysteresis modes are only defined for CTC
encodings of 0x0 and 0x3.
682
January 22, 2012
Texas Instruments-Production Data