Analog to Digital Converter (ADC)
Prototype:
void
ROM_ADCComparatorRegionSet(uint32_t ui32Base,
uint32_t ui32Comp,
uint32_t ui32LowRef,
uint32_t ui32HighRef)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_ADCTABLE
is an array of pointers located at
ROM_APITABLE[5]
.
ROM_ADCComparatorRegionSet
is a function pointer located at
ROM_ADCTABLE[16]
.
Parameters:
ui32Base
is the base address of the ADC module.
ui32Comp
is the index of the comparator to configure.
ui32LowRef
is the reference point for the low/mid band threshold.
ui32HighRef
is the reference point for the mid/high band threshold.
Description:
The ADC digital comparator operation is based on three ADC value regions:
low-band
is defined as any ADC value less than or equal to the
ui32LowRef
value.
mid-band
is defined as any ADC value greater than the
ui32LowRef
value but less than
or equal to the
ui32HighRef
value.
high-band
is defined as any ADC value greater than the
ui32HighRef
value.
Returns:
None.
5.2.1.7
ROM_ADCComparatorReset
Resets the current ADC digital comparator conditions.
Prototype:
void
ROM_ADCComparatorReset(uint32_t ui32Base,
uint32_t ui32Comp,
bool bTrigger,
bool bInterrupt)
ROM Location:
ROM_APITABLE
is an array of pointers located at
0x0100.0010
.
ROM_ADCTABLE
is an array of pointers located at
ROM_APITABLE[5]
.
ROM_ADCComparatorReset
is a function pointer located at
ROM_ADCTABLE[17]
.
Parameters:
ui32Base
is the base address of the ADC module.
ui32Comp
is the index of the comparator.
bTrigger
is the flag to indicate reset of Trigger conditions.
bInterrupt
is the flag to indicate reset of Interrupt conditions.
40
April 8, 2013
Summary of Contents for Tiva TM4C123GH6PM
Page 26: ...Boot Loader 26 April 8 2013...
Page 68: ...Controller Area Network CAN 68 April 8 2013...
Page 122: ...Hibernation Module 122 April 8 2013...
Page 136: ...Inter Integrated Circuit I2C 136 April 8 2013...
Page 152: ...Memory Protection Unit MPU 152 April 8 2013...
Page 174: ...Pulse Width Modulator PWM Returns None 174 April 8 2013...
Page 196: ...Synchronous Serial Interface SSI 196 April 8 2013...
Page 222: ...System Control 222 April 8 2013...
Page 270: ...UART 270 April 8 2013...
Page 296: ...uDMA Controller 296 April 8 2013...
Page 351: ...April 8 2013 351...