data structures for ioctl request More...
#include <iot_adc.h>
Data Fields | |
uint32_t | ulAdcSampleTime |
uint8_t | ucAdcResolution |
data structures for ioctl request
data structure for ioctl SetAdcConfig and GetAdcConfig
uint32_t IotAdcConfig_t::ulAdcSampleTime |
Sample time in ADC clock cycles, apply to all channels. !< Shortest sample time maximize conversion speed for lower impedance input !< Extending sample time improve sample accuracy for higher impedance input. !< Sample time is reported as the closest possible value, rounded up, the hardware can support.
uint8_t IotAdcConfig_t::ucAdcResolution |
ADC channel resolution, reported as the closest possible value, rounded up. !< value = resolution bits; 12 = 12bit, 13 = 13bit, etc