Analog to Digital Converter (ADC)
5.2.1.4 ROM_ADCComparatorIntEnable
Enables a sample sequence comparator interrupt.
Prototype:
void
ROM_ADCComparatorIntEnable(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_ADCComparatorIntEnable is a function pointer located at ROM_ADCTABLE[19].
Parameters:
ui32Base is the base address of the ADC module.
ui32SequenceNum is the sample sequence number.
Description:
This function enables the requested sample sequence comparator interrupt.
Returns:
None.
5.2.1.5 ROM_ADCComparatorIntStatus
Gets the current comparator interrupt status.
Prototype:
uint32_t
ROM_ADCComparatorIntStatus(uint32_t ui32Base)
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_ADCComparatorIntStatus is a function pointer located at ROM_ADCTABLE[20].
Parameters:
ui32Base is the base address of the ADC module.
Description:
This returns the digitial comparator interrupt status bits. This status is sequence agnostic.
Returns:
The current comparator interrupt status.
5.2.1.6 ROM_ADCComparatorRegionSet
Defines the ADC digital comparator regions.
April 8, 2013 39