|
API Documentation
9.14.00
|
Defines a conversion to be used with ADCBuf_convert(). More...
Data Fields | |
| uint32_t | adcChannel |
| void * | arg |
| void * | sampleBuffer |
| void * | sampleBufferTwo |
| uint16_t | samplesRequestedCount |
Defines a conversion to be used with ADCBuf_convert().
| uint32_t ADCBuf_Conversion::adcChannel |
ADCBuf channel to perform conversions on. Mapping of channel to pin or internal signal is device specific. Refer to the device specific implementation.
| void* ADCBuf_Conversion::arg |
Pointer to a custom argument to be passed to the ADCBuf_Callback function via the ADCBuf_Conversion structure.
| void* ADCBuf_Conversion::sampleBuffer |
Buffer to store ADCBuf conversion results. This buffer must be at least (ADCBuf_Conversion.samplesRequestedCount * 2) bytes. When using ADCBuf_RECURRENCE_MODE_ONE_SHOT, only this buffer is used.
| void* ADCBuf_Conversion::sampleBufferTwo |
Buffer to store ADCBuf conversion results. This buffer must be at least (ADCBuf_Conversion.samplesRequestedCount * 2) bytes. When using ADCBuf_RECURRENCE_MODE_ONE_SHOT, this buffer is not used. When using ADCBuf_RECURRENCE_MODE_CONTINUOUS, this must point to a valid buffer.
| uint16_t ADCBuf_Conversion::samplesRequestedCount |
Defines the number of samples to be performed on the ADCBuf_Conversion.channel. The application buffers provided by ADCBuf_Conversion.sampleBuffer and ADCBuf_Conversion.sampleBufferTwo must be large enough to hold samplesRequestedCount samples.
1.8.12