Skip to content

Instantly share code, notes, and snippets.

@nmkr
Created September 10, 2019 21:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nmkr/3e2320ee617bc99fcd6cd63a94f80801 to your computer and use it in GitHub Desktop.
Save nmkr/3e2320ee617bc99fcd6cd63a94f80801 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<EVC2>
<!-- Application metadata -->
<Application>
<SoftwareVersion>9</SoftwareVersion>
<FileVersion>1</FileVersion>
</Application>
<!-- Device specification -->
<Device>
<Name>CHiL8318</Name>
<Class>1</Class>
<BusType>1</BusType>
<BusSpeed>100</BusSpeed>
<Address Type="List">
<Value>0C</Value>
<Value>46</Value>
</Address>
<Detect Type="RegisterMatch">
<Register>
<Offset>01</Offset>
<Data>00</Data> <!-- VID -->
</Register>
<Register>
<Offset>02</Offset>
<Data>00</Data> <!-- PID -->
</Register>
</Detect>
<Monitoring>
<Item>
<Name>VOUT</Name>
<Register Type="Math">
<Offset>01</Offset>
<Math>
<Factor>0.01</Factor> <!-- 10mV/step -->
<Unit>V</Unit>
</Math>
</Register>
</Item>
</Monitoring>
</Device>
</EVC2>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment