diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2015-10-19 06:59:53 +0200 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2015-10-19 06:59:53 +0200 |
commit | 8ba85a9aff0009d03090a1ba3e9d7e146f02b7bf (patch) | |
tree | ef9eb3a20cc6da36ff6c875dc6221ec0b6af780c /xml | |
parent | fa54d4c2ca8ffcece7a9c6e9c784e2150cbed78b (diff) | |
download | pcitool-8ba85a9aff0009d03090a1ba3e9d7e146f02b7bf.tar.gz pcitool-8ba85a9aff0009d03090a1ba3e9d7e146f02b7bf.tar.bz2 pcitool-8ba85a9aff0009d03090a1ba3e9d7e146f02b7bf.tar.xz pcitool-8ba85a9aff0009d03090a1ba3e9d7e146f02b7bf.zip |
Provide register listings in public API
Diffstat (limited to 'xml')
-rw-r--r-- | xml/test/camera.xml | 2 | ||||
-rw-r--r-- | xml/types.xsd | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/xml/test/camera.xml b/xml/test/camera.xml index 14d1510..81335b7 100644 --- a/xml/test/camera.xml +++ b/xml/test/camera.xml @@ -83,7 +83,7 @@ <register address="0xd0" offset="21" size="11" default="0" rwmask="all" mode="RW" name="fr_num_lines_thr"/> <register address="0x100" offset="0" size="32" default="0" rwmask="0" mode="RW" name="rawdata_pkt_addr"/> <register address="0x110" offset="0" size="32" default="0" rwmask="0" mode="R" name="temperature_info"> - <field offset="0" size="16" mode="R" name="sensor_temperature"><view view="formuu1"/><view view="formuu2"/><view view="enumm2"/></field> + <field offset="0" size="16" mode="RW" name="sensor_temperature" min="5" max="15"><view view="formuu1"/><view view="formuu2"/><view view="enumm2"/></field> <field offset="16" size="3" mode="R" name="sensor_temperature_alarms"/> <field offset="19" size="10" mode="RW" name="fpga_temperature"><view view="formuu1"/><view view="enumm1"/></field> <field offset="29" size="3" mode="R" name="fpga_temperature_alarms"/> diff --git a/xml/types.xsd b/xml/types.xsd index f6b5bcd..2346b9d 100644 --- a/xml/types.xsd +++ b/xml/types.xsd @@ -41,6 +41,9 @@ </xsd:sequence> <xsd:attribute name="offset" type="uint8_t"/> <xsd:attribute name="size" type="uint8_t"/> + <xsd:attribute name="default" type="pcilib_register_value_t" default="0" /> + <xsd:attribute name="min" type="pcilib_register_value_t" /> + <xsd:attribute name="max" type="pcilib_register_value_t"/> <xsd:attribute name="mode" type="pcilib_register_mode_t"/> <xsd:attribute name="name" type="xsd:ID" use="required" /> <xsd:attribute name="description" type="xsd:string" /> |