File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed
tests/drivers/adc/adc_api Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ /*
2
+ * SPDX-License-Identifier: Apache-2.0
3
+ *
4
+ * Copyright (c) 2025 STMicroelectronics
5
+ */
6
+
7
+ / {
8
+ zephyr,user {
9
+ /* adjust channel number according to pinmux in board.dts */
10
+ io-channels = <&adc4 7>, <&adc4 8>;
11
+ };
12
+ };
13
+
14
+ &adc4 {
15
+ pinctrl-0 = <&adc4_in7_pa2 &adc4_in8_pa1>;
16
+ #address-cells = <1>;
17
+ #size-cells = <0>;
18
+
19
+ channel@7 {
20
+ reg = <7>;
21
+ zephyr,gain = "ADC_GAIN_1";
22
+ zephyr,reference = "ADC_REF_INTERNAL";
23
+ zephyr,acquisition-time = <ADC_ACQ_TIME_MAX>;
24
+ zephyr,resolution = <12>;
25
+ };
26
+
27
+ channel@8 {
28
+ reg = <8>;
29
+ zephyr,gain = "ADC_GAIN_1";
30
+ zephyr,reference = "ADC_REF_INTERNAL";
31
+ zephyr,acquisition-time = <ADC_ACQ_TIME_MAX>;
32
+ zephyr,resolution = <12>;
33
+ };
34
+ };
Original file line number Diff line number Diff line change 49
49
- nucleo_u575zi_q
50
50
- nucleo_wb55rg
51
51
- nucleo_wba55cg
52
+ - nucleo_wba65ri
52
53
- nucleo_wl55jc
53
54
- stm32f3_disco
54
55
- stm32h573i_dk
You can’t perform that action at this time.
0 commit comments