Skip to content
Commit b1cd9477 authored by Michael Hope's avatar Michael Hope Committed by Benjamin Cabé
Browse files

drivers: adc: add a driver for the CH32V003 ADC



The CH32V003 has a 8 channel, 10 bit onboard ADC. Add an immediate
mode driver and the appropriate pinctrl bindings. Note that the
CH32V003 GPIO pins have both a floating input and an analogue input
mode, and the pinctrl is needed to put the pin in analogue mode.

Signed-off-by: default avatarMichael Hope <michaelh@juju.nz>
parent 5fed1968
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment