ADC oversampling - how does this work exactly?
In the RM the section on the hardware oversampling "25.4.31 Oversampler" is quite brief in it's explication, it states that "There are no changes for conversion timings in oversampled mode: the sample time is maintained equal during the whole oversampling sequence."
So it can oversample from 2x to 1024x, and it does what?, it takes extra samples in the set sample time, so that if we set say hadc1.Init.Oversampling.Ratio = 2, then it takes 2 samples in ADC_SAMPLETIME_1CYCLE_5 sample time for example, so our sample time halves?
So say the Ratio value is 2x, we set ADC_RIGHTBITSHIFT_1 to divide by 2.
And for 3x... there is no divide by 3, so I guess this works in powers of 2, ie. 2, 4, 8, 16, 32.... this is not stated in the RM.
Is this how it works?
