Analog to Digital Converter (ADC)
void
(uint32_t ui32Base, uint32_t ui32Phase)
void
(uint32_t ui32Base, uint32_t ui32SequenceNum)
uint32_t
(uint32_t ui32Base)
void
(uint32_t ui32Base, uint32_t ui32Ref)
void
(uint32_t ui32Base, uint32_t ui32SequenceNum, uint32_t
ui32Trigger, uint32_t ui32Priority)
int32_t
(uint32_t ui32Base,
uint32_t ui32SequenceNum,
uint32_t
∗
pui32Buffer)
void
(uint32_t ui32Base, uint32_t ui32SequenceNum)
void
(uint32_t ui32Base, uint32_t ui32SequenceNum)
int32_t
(uint32_t ui32Base, uint32_t ui32SequenceNum)
void
(uint32_t ui32Base, uint32_t ui32SequenceNum)
void
(uint32_t ui32Base, uint32_t ui32SequenceNum,
uint32_t ui32Step, uint32_t ui32Config)
int32_t
(uint32_t ui32Base, uint32_t ui32SequenceNum)
void
(uint32_t ui32Base, uint32_t ui32SequenceNum)
5.2.1
Function Documentation
5.2.1.1
ROM_ADCComparatorConfigure
Configures an ADC digital comparator.
Prototype:
void
ROM_ADCComparatorConfigure(uint32_t ui32Base,
uint32_t ui32Comp,
uint32_t ui32Config)
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_ADCComparatorConfigure
is a function pointer located at
ROM_ADCTABLE[15]
.
Parameters:
ui32Base
is the base address of the ADC module.
ui32Comp
is the index of the comparator to configure.
ui32Config
is the configuration of the comparator.
Description:
This function will configure a comparator. The
ui32Config
parameter is the result of a logical
OR operation between the
ADC_COMP_TRIG_xxx
, and
ADC_COMP_INT_xxx
values.
The
ADC_COMP_TRIG_xxx
term can take on the following values:
ADC_COMP_TRIG_NONE
to never trigger PWM fault condition.
ADC_COMP_TRIG_LOW_ALWAYS
to always trigger PWM fault condition when ADC out-
put is in the low-band.
ADC_COMP_TRIG_LOW_ONCE
to trigger PWM fault condition once when ADC output
transitions into the low-band.
36
April 8, 2013
Содержание Tiva TM4C123GH6PM
Страница 26: ...Boot Loader 26 April 8 2013...
Страница 68: ...Controller Area Network CAN 68 April 8 2013...
Страница 122: ...Hibernation Module 122 April 8 2013...
Страница 136: ...Inter Integrated Circuit I2C 136 April 8 2013...
Страница 152: ...Memory Protection Unit MPU 152 April 8 2013...
Страница 174: ...Pulse Width Modulator PWM Returns None 174 April 8 2013...
Страница 196: ...Synchronous Serial Interface SSI 196 April 8 2013...
Страница 222: ...System Control 222 April 8 2013...
Страница 270: ...UART 270 April 8 2013...
Страница 296: ...uDMA Controller 296 April 8 2013...
Страница 351: ...April 8 2013 351...