TI-RTOS Drivers
tidrivers_cc13xx_cc26xx_2_20_01_10
|
An ADCBuf_Conversion data structure is used with ADCBuf_convert(). It indicates which channel to perform the ADC conversion on, how many conversions to make, and where to put them. The arg variable is an user-definable argument which gets passed to the ADCBuf_Callback when the ADC driver is in ADCBuf_RETURN_MODE_CALLBACK. More...
#include <ADCBuf.h>
Data Fields | |
uint16_t | samplesRequestedCount |
void * | sampleBuffer |
void * | sampleBufferTwo |
void * | arg |
uint32_t | adcChannel |
An ADCBuf_Conversion data structure is used with ADCBuf_convert(). It indicates which channel to perform the ADC conversion on, how many conversions to make, and where to put them. The arg variable is an user-definable argument which gets passed to the ADCBuf_Callback when the ADC driver is in ADCBuf_RETURN_MODE_CALLBACK.
uint16_t ADCBuf_Conversion::samplesRequestedCount |
Number of samples to convert and return
void* ADCBuf_Conversion::sampleBuffer |
Buffer the results of the conversions are stored in
void* ADCBuf_Conversion::sampleBufferTwo |
A second buffer that is filled in ADCBuf_RECURRENCE_MODE_CONTINUOUS mode while the first buffer is processed by the application. The value is not used in ADCBuf_RECURRENCE_MODE_ONE_SHOT mode.
void* ADCBuf_Conversion::arg |
Argument to be passed to the callback function in ADCBuf_RETURN_MODE_CALLBACK
uint32_t ADCBuf_Conversion::adcChannel |
Channel to perform the ADC conversion on. Mapping of channel to pin or internal signal is device specific.