Skip to content
Commit 58b8c400 authored by Aurelien Jarno's avatar Aurelien Jarno Committed by Christopher Friedt
Browse files

drivers: adc: STM32: add support for oversampling



The STM32 G0, G4, H7, L0, L4, WB and WL series have hardware support for
oversampling. This patch adds support for it, using the oversampling
value provided in the adc sequence. The result is shifted right
accordingly to not change the resolution of the measured value, like it
is done on other ADC drivers.

Signed-off-by: default avatarAurelien Jarno <aurelien@aurel32.net>
parent 0d42e756
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment