-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ad7746 and adxrs290 in test emu devices
- Loading branch information
1 parent
cdfd882
commit 3aa1d1f
Showing
2 changed files
with
4 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="utf-8"?><!DOCTYPE context [<!ELEMENT context (device | context-attribute)*><!ELEMENT context-attribute EMPTY><!ELEMENT device (channel | attribute | debug-attribute | buffer-attribute)*><!ELEMENT channel (scan-element?, attribute*)><!ELEMENT attribute EMPTY><!ELEMENT scan-element EMPTY><!ELEMENT debug-attribute EMPTY><!ELEMENT buffer-attribute EMPTY><!ATTLIST context name CDATA #REQUIRED description CDATA #IMPLIED><!ATTLIST context-attribute name CDATA #REQUIRED value CDATA #REQUIRED><!ATTLIST device id CDATA #REQUIRED name CDATA #IMPLIED><!ATTLIST channel id CDATA #REQUIRED type (input|output) #REQUIRED name CDATA #IMPLIED><!ATTLIST scan-element index CDATA #REQUIRED format CDATA #REQUIRED scale CDATA #IMPLIED><!ATTLIST attribute name CDATA #REQUIRED filename CDATA #IMPLIED value CDATA #IMPLIED><!ATTLIST debug-attribute name CDATA #REQUIRED value CDATA #IMPLIED><!ATTLIST buffer-attribute name CDATA #REQUIRED value CDATA #IMPLIED>]><context name="network" description="192.168.10.151 Linux analog 5.15.92-v7l+ #1 SMP Wed Dec 6 08:52:11 UTC 2023 armv7l" ><context-attribute name="hw_carrier" value="Raspberry Pi 4 Model B Rev 1.1" /><context-attribute name="dtoverlay" value="rpi-adxrs290,rpi-ad7124-8-all-diff" /><context-attribute name="local,kernel" value="5.15.92-v7l+" /><context-attribute name="uri" value="ip:192.168.10.151" /><context-attribute name="ip,ip-addr" value="192.168.10.151" /><device id="hwmon0" name="rpi_volt" ><channel id="in0" type="input" ><attribute name="lcrit_alarm" filename="in0_lcrit_alarm" value="0" /></channel></device><device id="iio:device0" name="ad7124-8" ><channel id="voltage0-voltage1" type="input" ><scan-element index="0" format="be:u24/32>>0" scale="0.000149" /><attribute name="filter_low_pass_3db_frequency" filename="in_voltage0-voltage1_filter_low_pass_3db_frequency" value="3" /><attribute name="offset" filename="in_voltage0-voltage1_offset" value="0" /><attribute name="raw" filename="in_voltage0-voltage1_raw" value="0" /><attribute name="sampling_frequency" filename="in_voltage0-voltage1_sampling_frequency" value="10" /><attribute name="scale" filename="in_voltage0-voltage1_scale" value="0.000149011" /><attribute name="scale_available" filename="in_voltage_scale_available" value="ERROR" /></channel><channel id="voltage2-voltage3" type="input" ><scan-element index="1" format="be:u24/32>>0" scale="0.000149" /><attribute name="filter_low_pass_3db_frequency" filename="in_voltage2-voltage3_filter_low_pass_3db_frequency" value="3" /><attribute name="offset" filename="in_voltage2-voltage3_offset" value="0" /><attribute name="raw" filename="in_voltage2-voltage3_raw" value="0" /><attribute name="sampling_frequency" filename="in_voltage2-voltage3_sampling_frequency" value="10" /><attribute name="scale" filename="in_voltage2-voltage3_scale" value="0.000149011" /><attribute name="scale_available" filename="in_voltage_scale_available" value="ERROR" /></channel><channel id="voltage4-voltage5" type="input" ><scan-element index="2" format="be:u24/32>>0" scale="0.000149" /><attribute name="filter_low_pass_3db_frequency" filename="in_voltage4-voltage5_filter_low_pass_3db_frequency" value="3" /><attribute name="offset" filename="in_voltage4-voltage5_offset" value="0" /><attribute name="raw" filename="in_voltage4-voltage5_raw" value="0" /><attribute name="sampling_frequency" filename="in_voltage4-voltage5_sampling_frequency" value="10" /><attribute name="scale" filename="in_voltage4-voltage5_scale" value="0.000149011" /><attribute name="scale_available" filename="in_voltage_scale_available" value="ERROR" /></channel><channel id="voltage6-voltage7" type="input" ><scan-element index="3" format="be:u24/32>>0" scale="0.000149" /><attribute name="filter_low_pass_3db_frequency" filename="in_voltage6-voltage7_filter_low_pass_3db_frequency" value="3" /><attribute name="offset" filename="in_voltage6-voltage7_offset" value="0" /><attribute name="raw" filename="in_voltage6-voltage7_raw" value="0" /><attribute name="sampling_frequency" filename="in_voltage6-voltage7_sampling_frequency" value="10" /><attribute name="scale" filename="in_voltage6-voltage7_scale" value="0.000149011" /><attribute name="scale_available" filename="in_voltage_scale_available" value="ERROR" /></channel><channel id="voltage8-voltage9" type="input" ><scan-element index="4" format="be:u24/32>>0" scale="0.000149" /><attribute name="filter_low_pass_3db_frequency" filename="in_voltage8-voltage9_filter_low_pass_3db_frequency" value="3" /><attribute name="offset" filename="in_voltage8-voltage9_offset" value="0" /><attribute name="raw" filename="in_voltage8-voltage9_raw" value="0" /><attribute name="sampling_frequency" filename="in_voltage8-voltage9_sampling_frequency" value="10" /><attribute name="scale" filename="in_voltage8-voltage9_scale" value="0.000149011" /><attribute name="scale_available" filename="in_voltage_scale_available" value="ERROR" /></channel><channel id="voltage10-voltage11" type="input" ><scan-element index="5" format="be:u24/32>>0" scale="0.000149" /><attribute name="filter_low_pass_3db_frequency" filename="in_voltage10-voltage11_filter_low_pass_3db_frequency" value="3" /><attribute name="offset" filename="in_voltage10-voltage11_offset" value="0" /><attribute name="raw" filename="in_voltage10-voltage11_raw" value="0" /><attribute name="sampling_frequency" filename="in_voltage10-voltage11_sampling_frequency" value="10" /><attribute name="scale" filename="in_voltage10-voltage11_scale" value="0.000149011" /><attribute name="scale_available" filename="in_voltage_scale_available" value="ERROR" /></channel><channel id="voltage12-voltage13" type="input" ><scan-element index="6" format="be:u24/32>>0" scale="0.000149" /><attribute name="filter_low_pass_3db_frequency" filename="in_voltage12-voltage13_filter_low_pass_3db_frequency" value="3" /><attribute name="offset" filename="in_voltage12-voltage13_offset" value="0" /><attribute name="raw" filename="in_voltage12-voltage13_raw" value="0" /><attribute name="sampling_frequency" filename="in_voltage12-voltage13_sampling_frequency" value="10" /><attribute name="scale" filename="in_voltage12-voltage13_scale" value="0.000149011" /><attribute name="scale_available" filename="in_voltage_scale_available" value="ERROR" /></channel><channel id="voltage14-voltage15" type="input" ><scan-element index="7" format="be:u24/32>>0" scale="0.000149" /><attribute name="filter_low_pass_3db_frequency" filename="in_voltage14-voltage15_filter_low_pass_3db_frequency" value="3" /><attribute name="offset" filename="in_voltage14-voltage15_offset" value="0" /><attribute name="raw" filename="in_voltage14-voltage15_raw" value="0" /><attribute name="sampling_frequency" filename="in_voltage14-voltage15_sampling_frequency" value="10" /><attribute name="scale" filename="in_voltage14-voltage15_scale" value="0.000149011" /><attribute name="scale_available" filename="in_voltage_scale_available" value="ERROR" /></channel><buffer-attribute name="data_available" value="2048" /><debug-attribute name="direct_reg_access" value="0x80" /></device><device id="iio:device1" name="adxrs290" ><channel id="anglvel_x" type="input" ><scan-element index="0" format="le:S16/16>>0" scale="0.000087" /><attribute name="filter_high_pass_3db_frequency" filename="in_anglvel_filter_high_pass_3db_frequency" value="11.300000" /><attribute name="filter_high_pass_3db_frequency_available" filename="in_anglvel_filter_high_pass_3db_frequency_available" value="ERROR" /><attribute name="filter_low_pass_3db_frequency" filename="in_anglvel_filter_low_pass_3db_frequency" value="20.000000" /><attribute name="filter_low_pass_3db_frequency_available" filename="in_anglvel_filter_low_pass_3db_frequency_available" value="480.000000 320.000000 160.000000 80.000000 56.600000 40.000000 28.300000 20.000000" /><attribute name="raw" filename="in_anglvel_x_raw" value="6" /><attribute name="scale" filename="in_anglvel_scale" value="0.000087266" /></channel><channel id="anglvel_y" type="input" ><scan-element index="1" format="le:S16/16>>0" scale="0.000087" /><attribute name="filter_high_pass_3db_frequency" filename="in_anglvel_filter_high_pass_3db_frequency" value="11.300000" /><attribute name="filter_high_pass_3db_frequency_available" filename="in_anglvel_filter_high_pass_3db_frequency_available" value="ERROR" /><attribute name="filter_low_pass_3db_frequency" filename="in_anglvel_filter_low_pass_3db_frequency" value="20.000000" /><attribute name="filter_low_pass_3db_frequency_available" filename="in_anglvel_filter_low_pass_3db_frequency_available" value="480.000000 320.000000 160.000000 80.000000 56.600000 40.000000 28.300000 20.000000" /><attribute name="raw" filename="in_anglvel_y_raw" value="-3" /><attribute name="scale" filename="in_anglvel_scale" value="0.000087266" /></channel><channel id="temp" type="input" ><scan-element index="2" format="le:s12/16>>0" scale="100.000000" /><attribute name="raw" filename="in_temp_raw" value="304" /><attribute name="scale" filename="in_temp_scale" value="100" /></channel><channel id="timestamp" type="input" ><scan-element index="3" format="le:S64/64>>0" /></channel><attribute name="current_timestamp_clock" value="realtime | ||
" /><buffer-attribute name="data_available" value="0" /><debug-attribute name="direct_reg_access" value="0xAD" /></device><device id="iio_sysfs_trigger" ><attribute name="add_trigger" value="ERROR" /><attribute name="remove_trigger" value="ERROR" /></device><device id="trigger0" name="ad7124-8-dev0" ></device><device id="trigger1" name="adxrs290-dev1" ></device></context> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<?xml version="1.0" encoding="utf-8"?><!DOCTYPE context [<!ELEMENT context (device | context-attribute)*><!ELEMENT context-attribute EMPTY><!ELEMENT device (channel | attribute | debug-attribute | buffer-attribute)*><!ELEMENT channel (scan-element?, attribute*)><!ELEMENT attribute EMPTY><!ELEMENT scan-element EMPTY><!ELEMENT debug-attribute EMPTY><!ELEMENT buffer-attribute EMPTY><!ATTLIST context name CDATA #REQUIRED description CDATA #IMPLIED><!ATTLIST context-attribute name CDATA #REQUIRED value CDATA #REQUIRED><!ATTLIST device id CDATA #REQUIRED name CDATA #IMPLIED><!ATTLIST channel id CDATA #REQUIRED type (input|output) #REQUIRED name CDATA #IMPLIED><!ATTLIST scan-element index CDATA #REQUIRED format CDATA #REQUIRED scale CDATA #IMPLIED><!ATTLIST attribute name CDATA #REQUIRED filename CDATA #IMPLIED value CDATA #IMPLIED><!ATTLIST debug-attribute name CDATA #REQUIRED value CDATA #IMPLIED><!ATTLIST buffer-attribute name CDATA #REQUIRED value CDATA #IMPLIED>]><context name="network" description="192.168.10.151 Linux analog 5.15.92-v7l+ #1 SMP Wed Dec 6 08:52:11 UTC 2023 armv7l" ><context-attribute name="hw_carrier" value="Raspberry Pi 4 Model B Rev 1.1" /><context-attribute name="dtoverlay" value="rpi-adxrs290,rpi-ad7124-8-all-diff" /><context-attribute name="local,kernel" value="5.15.92-v7l+" /><context-attribute name="uri" value="ip:192.168.10.151" /><context-attribute name="ip,ip-addr" value="192.168.10.151" /><device id="hwmon0" name="rpi_volt" ><channel id="in0" type="input" ><attribute name="lcrit_alarm" filename="in0_lcrit_alarm" value="0" /></channel></device><device id="iio:device0" name="ad7124-8" ><channel id="voltage0-voltage1" type="input" ><scan-element index="0" format="be:u24/32>>0" scale="0.000149" /><attribute name="filter_low_pass_3db_frequency" filename="in_voltage0-voltage1_filter_low_pass_3db_frequency" value="3" /><attribute name="offset" filename="in_voltage0-voltage1_offset" value="0" /><attribute name="raw" filename="in_voltage0-voltage1_raw" value="0" /><attribute name="sampling_frequency" filename="in_voltage0-voltage1_sampling_frequency" value="10" /><attribute name="scale" filename="in_voltage0-voltage1_scale" value="0.000149011" /><attribute name="scale_available" filename="in_voltage_scale_available" value="ERROR" /></channel><channel id="voltage2-voltage3" type="input" ><scan-element index="1" format="be:u24/32>>0" scale="0.000149" /><attribute name="filter_low_pass_3db_frequency" filename="in_voltage2-voltage3_filter_low_pass_3db_frequency" value="3" /><attribute name="offset" filename="in_voltage2-voltage3_offset" value="0" /><attribute name="raw" filename="in_voltage2-voltage3_raw" value="0" /><attribute name="sampling_frequency" filename="in_voltage2-voltage3_sampling_frequency" value="10" /><attribute name="scale" filename="in_voltage2-voltage3_scale" value="0.000149011" /><attribute name="scale_available" filename="in_voltage_scale_available" value="ERROR" /></channel><channel id="voltage4-voltage5" type="input" ><scan-element index="2" format="be:u24/32>>0" scale="0.000149" /><attribute name="filter_low_pass_3db_frequency" filename="in_voltage4-voltage5_filter_low_pass_3db_frequency" value="3" /><attribute name="offset" filename="in_voltage4-voltage5_offset" value="0" /><attribute name="raw" filename="in_voltage4-voltage5_raw" value="0" /><attribute name="sampling_frequency" filename="in_voltage4-voltage5_sampling_frequency" value="10" /><attribute name="scale" filename="in_voltage4-voltage5_scale" value="0.000149011" /><attribute name="scale_available" filename="in_voltage_scale_available" value="ERROR" /></channel><channel id="voltage6-voltage7" type="input" ><scan-element index="3" format="be:u24/32>>0" scale="0.000149" /><attribute name="filter_low_pass_3db_frequency" filename="in_voltage6-voltage7_filter_low_pass_3db_frequency" value="3" /><attribute name="offset" filename="in_voltage6-voltage7_offset" value="0" /><attribute name="raw" filename="in_voltage6-voltage7_raw" value="0" /><attribute name="sampling_frequency" filename="in_voltage6-voltage7_sampling_frequency" value="10" /><attribute name="scale" filename="in_voltage6-voltage7_scale" value="0.000149011" /><attribute name="scale_available" filename="in_voltage_scale_available" value="ERROR" /></channel><channel id="voltage8-voltage9" type="input" ><scan-element index="4" format="be:u24/32>>0" scale="0.000149" /><attribute name="filter_low_pass_3db_frequency" filename="in_voltage8-voltage9_filter_low_pass_3db_frequency" value="3" /><attribute name="offset" filename="in_voltage8-voltage9_offset" value="0" /><attribute name="raw" filename="in_voltage8-voltage9_raw" value="0" /><attribute name="sampling_frequency" filename="in_voltage8-voltage9_sampling_frequency" value="10" /><attribute name="scale" filename="in_voltage8-voltage9_scale" value="0.000149011" /><attribute name="scale_available" filename="in_voltage_scale_available" value="ERROR" /></channel><channel id="voltage10-voltage11" type="input" ><scan-element index="5" format="be:u24/32>>0" scale="0.000149" /><attribute name="filter_low_pass_3db_frequency" filename="in_voltage10-voltage11_filter_low_pass_3db_frequency" value="3" /><attribute name="offset" filename="in_voltage10-voltage11_offset" value="0" /><attribute name="raw" filename="in_voltage10-voltage11_raw" value="0" /><attribute name="sampling_frequency" filename="in_voltage10-voltage11_sampling_frequency" value="10" /><attribute name="scale" filename="in_voltage10-voltage11_scale" value="0.000149011" /><attribute name="scale_available" filename="in_voltage_scale_available" value="ERROR" /></channel><channel id="voltage12-voltage13" type="input" ><scan-element index="6" format="be:u24/32>>0" scale="0.000149" /><attribute name="filter_low_pass_3db_frequency" filename="in_voltage12-voltage13_filter_low_pass_3db_frequency" value="3" /><attribute name="offset" filename="in_voltage12-voltage13_offset" value="0" /><attribute name="raw" filename="in_voltage12-voltage13_raw" value="0" /><attribute name="sampling_frequency" filename="in_voltage12-voltage13_sampling_frequency" value="10" /><attribute name="scale" filename="in_voltage12-voltage13_scale" value="0.000149011" /><attribute name="scale_available" filename="in_voltage_scale_available" value="ERROR" /></channel><channel id="voltage14-voltage15" type="input" ><scan-element index="7" format="be:u24/32>>0" scale="0.000149" /><attribute name="filter_low_pass_3db_frequency" filename="in_voltage14-voltage15_filter_low_pass_3db_frequency" value="3" /><attribute name="offset" filename="in_voltage14-voltage15_offset" value="0" /><attribute name="raw" filename="in_voltage14-voltage15_raw" value="0" /><attribute name="sampling_frequency" filename="in_voltage14-voltage15_sampling_frequency" value="10" /><attribute name="scale" filename="in_voltage14-voltage15_scale" value="0.000149011" /><attribute name="scale_available" filename="in_voltage_scale_available" value="ERROR" /></channel><buffer-attribute name="data_available" value="2048" /><debug-attribute name="direct_reg_access" value="0x80" /></device><device id="iio:device1" name="adxrs290" ><channel id="anglvel_x" type="input" ><scan-element index="0" format="le:S16/16>>0" scale="0.000087" /><attribute name="filter_high_pass_3db_frequency" filename="in_anglvel_filter_high_pass_3db_frequency" value="11.300000" /><attribute name="filter_high_pass_3db_frequency_available" filename="in_anglvel_filter_high_pass_3db_frequency_available" value="ERROR" /><attribute name="filter_low_pass_3db_frequency" filename="in_anglvel_filter_low_pass_3db_frequency" value="20.000000" /><attribute name="filter_low_pass_3db_frequency_available" filename="in_anglvel_filter_low_pass_3db_frequency_available" value="480.000000 320.000000 160.000000 80.000000 56.600000 40.000000 28.300000 20.000000" /><attribute name="raw" filename="in_anglvel_x_raw" value="-2" /><attribute name="scale" filename="in_anglvel_scale" value="0.000087266" /></channel><channel id="anglvel_y" type="input" ><scan-element index="1" format="le:S16/16>>0" scale="0.000087" /><attribute name="filter_high_pass_3db_frequency" filename="in_anglvel_filter_high_pass_3db_frequency" value="11.300000" /><attribute name="filter_high_pass_3db_frequency_available" filename="in_anglvel_filter_high_pass_3db_frequency_available" value="ERROR" /><attribute name="filter_low_pass_3db_frequency" filename="in_anglvel_filter_low_pass_3db_frequency" value="20.000000" /><attribute name="filter_low_pass_3db_frequency_available" filename="in_anglvel_filter_low_pass_3db_frequency_available" value="480.000000 320.000000 160.000000 80.000000 56.600000 40.000000 28.300000 20.000000" /><attribute name="raw" filename="in_anglvel_y_raw" value="4" /><attribute name="scale" filename="in_anglvel_scale" value="0.000087266" /></channel><channel id="temp" type="input" ><scan-element index="2" format="le:s12/16>>0" scale="100.000000" /><attribute name="raw" filename="in_temp_raw" value="307" /><attribute name="scale" filename="in_temp_scale" value="100" /></channel><channel id="timestamp" type="input" ><scan-element index="3" format="le:S64/64>>0" /></channel><attribute name="current_timestamp_clock" value="realtime | ||
" /><buffer-attribute name="data_available" value="0" /><debug-attribute name="direct_reg_access" value="0xAD" /></device><device id="iio_sysfs_trigger" ><attribute name="add_trigger" value="ERROR" /><attribute name="remove_trigger" value="ERROR" /></device><device id="trigger0" name="ad7124-8-dev0" ></device><device id="trigger1" name="adxrs290-dev1" ></device></context> |