-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathBaseExample.scvd
More file actions
27 lines (21 loc) · 952 Bytes
/
BaseExample.scvd
File metadata and controls
27 lines (21 loc) · 952 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="utf-8"?>
<component_viewer schemaVersion="0.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="Component_Viewer.xsd">
<component name="MyView" version="0.0.1"/> <!-- name and version of the component -->
<typedefs>
<typedef name="MyType" size="8" info="This is MyType with 2 members">
<member name="hi" type="uint32_t" offset="0" info="member hi"/>
<member name="low" type="uint32_t" offset="4" info="member low"/>
</typedef>
</typedefs>
<objects>
<object name="MyObject">
<read name="MySymbol" type="MyType" symbol="mysymbol" const="0"/>
<out name="MyObjectView">
<item property="MyObject">
<item property="Low" value="%x[MySymbol.low]"/>
<item property="Hi" value="%d[MySymbol.hi]"/>
</item>
</out>
</object>
</objects>
</component_viewer>