/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to xml/types.xsd

  • Committer: Suren A. Chilingaryan
  • Date: 2015-10-19 13:58:46 UTC
  • Revision ID: csa@suren.me-20151019135846-nz3f6iobifx06xvq
Support computed (property-based) registers

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
    <xsd:attribute name="name" type="xsd:ID" />
59
59
    <xsd:attribute name="unit" type="xsd:string" />
60
60
    <xsd:attribute name="type" type="pcilib_data_type_t" />
 
61
    <xsd:attribute name="mode" type="pcilib_access_mode_t" />
61
62
    <xsd:attribute name="visible" type="bool_t" default="0" />
62
63
    <xsd:attribute name="description" type="xsd:string" />
63
64
  </xsd:complexType>
66
67
    <xsd:complexContent>
67
68
        <xsd:extension base="pcilib_view_t">
68
69
          <xsd:attribute name="path" type="xsd:string" />
 
70
          <xsd:attribute name="register" type="xsd:string" />
69
71
          <xsd:attribute name="read_from_register" type="xsd:string" />
70
72
          <xsd:attribute name="write_to_register" type="xsd:string" />
71
73
          <!-- xsd 1.1 <xsd:assert test="(@path and not(@name)) or (not(@path) and @name)"/> -->
180
182
      <xsd:enumeration value="dma3"/>
181
183
    </xsd:restriction>
182
184
  </xsd:simpleType>
 
185
  <xsd:simpleType name="pcilib_access_mode_t">
 
186
    <xsd:restriction base="xsd:string">
 
187
      <xsd:enumeration value="-"/>
 
188
      <xsd:enumeration value="R"/>
 
189
      <xsd:enumeration value="W"/>
 
190
      <xsd:enumeration value="RW"/>
 
191
    </xsd:restriction>
 
192
  </xsd:simpleType>
183
193
  <xsd:simpleType name="pcilib_register_mode_t">
184
194
    <xsd:restriction base="xsd:string">
 
195
      <xsd:enumeration value="-"/>
185
196
      <xsd:enumeration value="R"/>
186
197
      <xsd:enumeration value="W"/>
187
198
      <xsd:enumeration value="RW"/>
188
199
      <xsd:enumeration value="W1C"/>
189
200
      <xsd:enumeration value="RW1C"/>
 
201
      <xsd:enumeration value="W1I"/>
 
202
      <xsd:enumeration value="RW1I"/>
190
203
    </xsd:restriction>
191
204
  </xsd:simpleType>
192
205
  <xsd:simpleType name="pcilib_data_type_t">