Download Stellaris Peripheral Driver Library User's Guide

Transcript
Analog to Digital Converter (ADC)
Prototype:
void
ADCComparatorIntClear(unsigned long ulBase,
unsigned long ulStatus)
Parameters:
ulBase is the base address of the ADC module.
ulStatus is the bit-mapped interrupts status to clear.
Description:
The specified interrupt status is cleared.
Returns:
None.
4.2.2.3
ADCComparatorIntDisable
Disables a sample sequence comparator interrupt.
Prototype:
void
ADCComparatorIntDisable(unsigned long ulBase,
unsigned long ulSequenceNum)
Parameters:
ulBase is the base address of the ADC module.
ulSequenceNum is the sample sequence number.
Description:
This function disables the requested sample sequence comparator interrupt.
Returns:
None.
4.2.2.4
ADCComparatorIntEnable
Enables a sample sequence comparator interrupt.
Prototype:
void
ADCComparatorIntEnable(unsigned long ulBase,
unsigned long ulSequenceNum)
Parameters:
ulBase is the base address of the ADC module.
ulSequenceNum is the sample sequence number.
Description:
This function enables the requested sample sequence comparator interrupt.
Returns:
None.
September 09, 2011
25