drivers: adc: Add ADC xmc4xxx drivers
The ADC module has four conversion groups, each one is set up as a zephyr device. The start-up calibration is initiated globally for all groups and it is run in each device init function. The ADC module supports post calibration per group. Post calibration is run automatically after each group acquires the samples. Signed-off-by: Andriy Gelman <andriy.gelman@gmail.com>
This commit is contained in:
parent
f197fe0684
commit
2d3493bff0
9 changed files with 441 additions and 0 deletions
|
@ -82,6 +82,22 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&adc0 {
|
||||
vref-internal-mv = <3300>;
|
||||
};
|
||||
|
||||
&adc1 {
|
||||
vref-internal-mv = <3300>;
|
||||
};
|
||||
|
||||
&adc2 {
|
||||
vref-internal-mv = <3300>;
|
||||
};
|
||||
|
||||
&adc3 {
|
||||
vref-internal-mv = <3300>;
|
||||
};
|
||||
|
||||
&gpio1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue