zephyr/samples/drivers/adc/adc_dt/boards/nucleo_h563zi.overlay

26 lines
395 B
Plaintext

/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright (c) 2024, Vitrolife A/S
*/
/ {
zephyr,user {
/* CN9 pin 1 */
io-channels = <&adc1 3>;
};
};
&adc1 {
#address-cells = <1>;
#size-cells = <0>;
channel@3 {
reg = <3>;
zephyr,gain = "ADC_GAIN_1";
zephyr,reference = "ADC_REF_INTERNAL";
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
zephyr,resolution = <12>;
};
};