EasyManua.ls Logo

Texas Instruments CC3235 SimpleLink Series - Page 481

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...
www.ti.com
Peripheral Library APIs for ADC Operation
481
SWRU543January 2019
Submit Documentation Feedback
Copyright © 2019, Texas Instruments Incorporated
Analog-to-Digital Converter (ADC)
13.6.3.4 void ADCChannelDisable (unsigned long ulBase, unsigned long ulChannel)
Disables a specified ADC channel.
Parameters:
ulBase— Base address of the ADC
ulChannel— One of the valid ADC channels
This function disables a specified ADC channel.
Returns:
None
13.6.4 APIs for Data Transfer [Direct Access to FIFO and DMA Setup]
13.6.4.1 unsigned char ADCFIFOLvlGet (unsigned long ulBase, unsigned long ulChannel)
Gets the current FIFO level for a specified ADC channel.
Parameters:
ulBase— Base address of the ADC
ulChannel— One of the valid ADC channels
This function returns the current FIFO level for 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:
Returns the current FIFO level for a specified channel.
13.6.4.2 unsigned long ADCFIFORead (unsigned long ulBase, unsigned long ulChannel)
Reads FIFO for a specified ADC channel.
Parameters:
ulBase— Base address of the ADC
ulChannel— One of the valid ADC channels
This function returns one data sample from the channel FIFO as specified by the ulChannel parameter.
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:
Returns one data sample from the channel FIFO.
13.6.4.3 void ADCDMAEnable (unsigned long ulBase, unsigned long ulChannel)
Enables the ADC DMA operation for a specified channel.
Parameters:

Table of Contents

Related product manuals