Peripheral Library APIs for ADC Operation
www.ti.com
484
SWRU543–January 2019
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
Analog-to-Digital Converter (ADC)
13.6.5.4 void ADCIntUnregister (unsigned long ulBase, unsigned long ulChannel)
Disables and unregisters ADC interrupt handler for a specified channel.
Parameters:
ulBase— Base address of the ADC
ulChannel— One of the valid ADC channels
This function disables and unregisters ADC interrupt handler for a specified channel. This function also
masks off the interrupt in the interrupt controller, so that the interrupt handler is no longer called.
The ulChannel parameter should be one of the following:
• ADC_CH_0 for channel 0
• ADC_CH_1 for channel 1
• ADC_CH_2 for channel 2
• ADC_CH_3 for channel 3
Returns:
• None
13.6.5.5 unsigned long ADCIntStatus (unsigned long ulBase, unsigned long ulChannel)
Gets the current channel interrupt status.
Parameters:
ulBase— Base address of the ADC
ulChannel— One of the valid ADC channels
This function returns the interrupt status of the specified ADC channel. See Table 13-25
The ulChannel parameter should be as explained in ADCIntEnable().
Returns:
• Return the ADC channel interrupt status, enumerated as a bit field of values described in
ADCIntEnable().
13.6.5.6 void ADCIntClear (unsigned long ulBase, unsigned long ulChannel, unsigned long ulIntFlags)
Clears the current channel interrupt sources.
Parameters:
ulBase— Base address of the ADC
ulChannel— One of the valid ADC channels
ulIntFlags— The bit mask of the interrupt sources to be cleared
This function clears an individual interrupt source for the specified ADC channel.
The ulChannel parameter should be as explained in ADCIntEnable().
Returns:
• None