We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0798fc7 commit 7fe6feaCopy full SHA for 7fe6fea
tests/drivers/adc/adc_api/boards/nucleo_u5a5zj_q.overlay
@@ -0,0 +1,25 @@
1
+/*
2
+ * SPDX-License-Identifier: Apache-2.0
3
+ *
4
+ * Copyright (c) 2023 STMicroelectronics
5
+ */
6
+
7
+/ {
8
+ zephyr,user {
9
+ /* adjust channel number according to pinmux in board.dts */
10
+ io-channels = <&adc1 1>;
11
+ };
12
+};
13
14
+&adc1 {
15
+ #address-cells = <1>;
16
+ #size-cells = <0>;
17
18
+ channel@1 {
19
+ reg = <1>;
20
+ zephyr,gain = "ADC_GAIN_1";
21
+ zephyr,reference = "ADC_REF_INTERNAL";
22
+ zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
23
+ zephyr,resolution = <12>;
24
25
0 commit comments