summaryrefslogtreecommitdiffstats
path: root/xml/pcidev
diff options
context:
space:
mode:
Diffstat (limited to 'xml/pcidev')
-rw-r--r--xml/pcidev/registers.xml11
1 files changed, 11 insertions, 0 deletions
diff --git a/xml/pcidev/registers.xml b/xml/pcidev/registers.xml
new file mode 100644
index 0000000..3735921
--- /dev/null
+++ b/xml/pcidev/registers.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0"?>
+<model xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ <bank size="0x0200" protocol="pcidev" read_address="0x0" write_address="0x0" word_size="32" endianess="little" format="0x%lx" name="pcidev" description="Sample Registers">
+ <register address="0x00" offset="0" size="32" default="0" rwmask="0" mode="RW" name="testreg">
+ <field offset="0" size="8" mode="R" name="firmware_version"/>
+ <field offset="8" size="1" mode="R" name="firmware_bitmode"/>
+ <field offset="12" size="2" mode="R" name="adc_resolution"/>
+ <field offset="16" size="2" mode="R" name="output_mode"/>
+ </register>
+ </bank>
+</model>