EasyManua.ls Logo

Texas Instruments CC3235 SimpleLink Series - Page 482

Texas Instruments CC3235 SimpleLink Series
799 pages
Print Icon
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...
Peripheral Library APIs for ADC Operation
www.ti.com
482
SWRU543January 2019
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
Analog-to-Digital Converter (ADC)
ulBase— Base address of the ADC
ulChannel— One of the valid ADC channels
This function enables the DMA operation for a specified ADC channel.
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.4.4 void ADCDMADisable (unsigned long ulBase, unsigned long ulChannel)
Disables the ADC DMA operation for a specified channel.
Parameters:
ulBase— Base address of the ADC
ulChannel— One of the valid ADC channels
This function disables the DMA operation for a specified ADC channel.
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 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— Base address of the ADC
ulChannel— One of the valid ADC channels
ulIntFlags— The bit mask of the interrupt sources to be enabled
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 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
The ulIntFlags parameter is the logical OR of any of the following:
ADC_DMA_DONE for DMA done

Table of Contents

Related product manuals