Does anyone know what, in the ADC_INIT_CHANNEL_STRUCT does "number of samples" and "circular buffer size"
Here is my set - up:
I copied it from the examples given.
const ADC_INIT_CHANNEL_STRUCT adc_channel_vinp =
ADC_SOURCE_AN7, /* physical ADC channel */
ADC_CHANNEL_MEASURE_ONCE| ADC_CHANNEL_START_TRIGGERED , /* runs continuously after IOCTL trigger */
10, /* number of samples in one run sequence */
0, /* time offset from trigger point in us */
A2D_PERIOD_US, /* period in us (= 0.5 sec) */
0x10000, /* scale range of result (not used now) */
10, /* circular buffer size (sample count) */
ADC_TRIGGER_8, /* logical trigger ID that starts this ADC channel */
I find that my results are "noisy". I was wondering (hoping) if this is some sort of filter.