EasyManua.ls Logo

Texas Instruments Tiva TM4C123GH6PM - Page 49

Texas Instruments Tiva TM4C123GH6PM
352 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Analog to Digital Converter (ADC)
Returns:
None.
5.2.1.21 ROM_ADCSequenceEnable
Enables a sample sequence.
Prototype:
void
ROM_ADCSequenceEnable(uint32_t ui32Base,
uint32_t ui32SequenceNum)
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_ADCSequenceEnable is a function pointer located at ROM_ADCTABLE[5].
Parameters:
ui32Base is the base address of the ADC module.
ui32SequenceNum is the sample sequence number.
Description:
Allows the specified sample sequence to be captured when its trigger is detected. A sample
sequence must be configured before it is enabled.
Returns:
None.
5.2.1.22 ROM_ADCSequenceOverflow
Determines if a sample sequence overflow occurred.
Prototype:
int32_t
ROM_ADCSequenceOverflow(uint32_t ui32Base,
uint32_t ui32SequenceNum)
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_ADCSequenceOverflow is a function pointer located at ROM_ADCTABLE[9].
Parameters:
ui32Base is the base address of the ADC module.
ui32SequenceNum is the sample sequence number.
Description:
This determines if a sample sequence overflow has occurred. This will happen if the captured
samples are not read from the FIFO before the next trigger occurs.
Returns:
Returns zero if there was not an overflow, and non-zero if there was.
April 8, 2013 49

Related product manuals