|  |  | 
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.