Apis For Interrupt Usage - Texas Instruments CC3200 Technical Reference Manual

Simplelink wi-fi and internet-of things solution, a single chip wireless mcu
Hide thumbs Also See for CC3200:
Table of Contents

Advertisement

Peripheral Library APIs for ADC Operation
ulBase
ulChannel
This function disables the DMA operation for a specified ADC channel.
The ulChannel parameter should be one of:
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 APIs for Interrupt Usage

13.6.5.1 void ADCIntEnable (unsigned long ulBase, unsigned long ulChannel, unsigned long ulIntFlags)
Enables individual interrupt sources for a specified channel.
Parameters:
ulBase
ulChannel
ulIntFlags
This function enables the indicated ADC interrupt sources. Only enabled sources can be reflected to the
processor interrupt; disabled sources have no effect on the processor.
The ulChannel parameter should be one of:
ADC_CH_0 for channel 0
ADC_CH_1 for channel 1
ADC_CH_2 for channel 2
ADC_CH_3 for channel 3
The ulIntFlags parameter is the logical OR of any of:
ADC_DMA_DONE for DMA done
ADC_FIFO_OVERFLOW for FIFO over flow
ADC_FIFO_UNDERFLOW for FIFO under flow
ADC_FIFO_EMPTY for FIFO empty
ADC_FIFO_FULL for FIFO full
Returns:
None
13.6.5.2 void ADCIntDisable (unsigned long ulBase, unsigned long ulChannel, unsigned long ulIntFlags)
Disables individual interrupt sources for a specified channel.
Parameters:
ulBase
ulChannel
ulIntFlags
424
Analog-to-Digital Converter [ADC]
Base address of the ADC
One of the valid ADC channels
Base address of the ADC
One of the valid ADC channels
The bit mask of the interrupt sources to be enabled
Base address of the ADC
One of the valid ADC channels
The bit mask of the interrupt sources to be enabled
Copyright © 2014–2018, Texas Instruments Incorporated
SWRU367D – June 2014 – Revised May 2018
Submit Documentation Feedback
www.ti.com

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents