Skip to content
Commit 56621fa1 authored by Matt Rodgers's avatar Matt Rodgers Committed by Anas Nashif
Browse files

drivers: adc: stm32: add support for differential mode



Differential mode support consists of:
- If differential mode is supported by the underlying hardware AND at
  least one differential channel is enabled in the devicetree for this
  ADC instance, then perform a differential mode calibration in addition
  to the usual single ended calibration during initialisation.
- Set channels to the appropriate differential or single ended mode
  during channel setup.

Currently the N6 series is not supported even though the underlying
hardware supports differential mode, due to complications in the
calibration procedure.

Signed-off-by: default avatarMatt Rodgers <mrodgers@witekio.com>
Co-authored-by: default avatarGuillaume Gautier <guillaume.gautier-ext@st.com>
parent 7ed3c4fc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment