Analog to Digital Converter (ADC)
Parameters:
ui32Base
is the base address of the ADC module.
Description:
Returns the value of the ADC reference setting. The returned value is one of
ADC_REF_INT
or
ADC_REF_EXT_3V
.
Returns:
The current setting of the ADC reference.
5.2.1.17 ROM_ADCReferenceSet
Selects the ADC reference.
Prototype:
void
ROM_ADCReferenceSet(uint32_t ui32Base,
uint32_t ui32Ref)
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_ADCReferenceSet
is a function pointer located at
ROM_ADCTABLE[22]
.
Parameters:
ui32Base
is the base address of the ADC module.
ui32Ref
is the reference to use.
Description:
The ADC reference is set as specified by
ui32Ref
. It must be one of
ADC_REF_INT
or
ADC_REF_EXT_3V
, for internal or external reference. If
ADC_REF_INT
is chosen, then an
internal 3V reference is used and no external reference is needed. If
ADC_REF_EXT_3V
is
chosen, then a 3V reference must be supplied to the AVREF pin.
Returns:
None.
5.2.1.18 ROM_ADCSequenceConfigure
Configures the trigger source and priority of a sample sequence.
Prototype:
void
ROM_ADCSequenceConfigure(uint32_t ui32Base,
uint32_t ui32SequenceNum,
uint32_t ui32Trigger,
uint32_t ui32Priority)
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_ADCSequenceConfigure
is a function pointer located at
ROM_ADCTABLE[7]
.
46
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...