• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1root {
2    platform {
3        adc_config {
4            match_attr = "linux_adc_adapter_0";
5            template adc_device {
6                serviceName = "";
7                channelNum = 2;
8                driver_channel0_name = "";
9                driver_channel1_name = "";
10                deviceNum = 0;
11                scanMode =  0;
12                rate = 100;
13            }
14            device_adc_0x0000 :: adc_device {
15                channelNum = 2;
16                driver_channel0_name = "/sys/bus/iio/devices/iio:device0/in_voltage0-voltage0_raw";
17                driver_channel1_name = "/sys/bus/iio/devices/iio:device0/in_voltage1-voltage0_raw";
18                deviceNum = 14;
19            }
20        }
21    }
22}
23