boards: arm: twr_ke18f: add ADC support
Add support for reading the onboard potentiometer (ADC0 channel 12) and thermistor (ADC0 channels 0 and 1). Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
parent
ca38f0a21d
commit
ac4294216b
5 changed files with 23 additions and 0 deletions
|
@ -141,6 +141,11 @@
|
|||
status = "ok";
|
||||
};
|
||||
|
||||
&adc0 {
|
||||
status = "ok";
|
||||
sample-time = <12>;
|
||||
};
|
||||
|
||||
&flash0 {
|
||||
/*
|
||||
* For more information, see:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue