$setup[0]->{cmd} = "TrbNet-0xffff-StatusRegisters";
$setup[0]->{period} = 2000;
-$setup[1]->{name} = "BoardInfo";
-$setup[1]->{cmd} = "TrbNet-0xffff-BoardInformation";
+$setup[1]->{name} = "CommonRegs";
+$setup[1]->{cmd} = "TrbNet-0xffff-CommonRegs";
$setup[1]->{period} = -1;
-$setup[2]->{name} = "Readout";
-$setup[2]->{cmd} = "Readout-0xffff-Status";
+$setup[2]->{name} = "BoardInfo";
+$setup[2]->{cmd} = "TrbNet-0xffff-BoardInformation";
$setup[2]->{period} = -1;
+$setup[3]->{name} = "Readout";
+$setup[3]->{cmd} = "Readout-0xffff-Status";
+$setup[3]->{period} = -1;
-xmlpage::initPage(\@setup,$page);
-
+xmlpage::initPage(\@setup,$page);
-
1;
</group>
-
+ <group name="CommonRegs" address="0000" mode="rw" purpose="config" continuous="false">
+ <register name="AdditionalReg" address="d580" >
+ <description>Design dependend function, e.g. LED off</description>
+ <field name="AdditionalReg" start="0" bits="32" format="bitmask" />
+ </register>
+ <register name="ControlReg" address="d581" >
+ <description>New common function register</description>
+ <field name="ControlRegFull" start="0" bits="32" format="bitmask" >
+ <description>Full control reg</description>
+ </field>
+ <field name="RebootOnReset" start="15" bits="1" format="boolean" >
+ <description>Board makes a full reload with next reset</description>
+ </field>
+ </register>
+
+ <register name="Addresses2" address="7001" purpose="status" mode="rw">
+ <description>Address setting registers </description>
+ <field name="SetAddress" start="0" bits="16" format="hex" >
+ <description>Set main board address. Bit 31 must be assigned to update the board address with this value</description>
+ </field>
+ <field name="CustomBroadcast" start="16" bits="8" scaleoffset="64768" format="hex" >
+ <description>Configurable broadcast using 0xFD__ </description>
+ </field>
+ <field name="SetAddressEnable" start="31" bits="1" format="boolean" >
+ <description>Update Address enable bit. </description>
+ </field>
+ </register>
+ </group>
<group name="BoardInformation" address="0040" mode="r" >
<register name="CompileTime" address="0000" purpose="status">
<description>Default address after reload</description>
</field>
</register>
-
- <register name="Addresses2" address="6FC1" purpose="status" mode="rw">
- <description>Address setting registers </description>
- <field name="SetAddress" start="0" bits="16" format="hex" >
- <description>Set main board address. Bit 31 must be assigned to update the board address with this value</description>
- </field>
- <field name="CustomBroadcast" start="16" bits="8" scaleoffset="64768" format="hex" >
- <description>Configurable broadcast using 0xFD__ </description>
- </field>
- <field name="SetAddressEnable" start="31" bits="1" format="boolean" >
- <description>Update Address enable bit. </description>
- </field>
- </register>
+
</group>
-
+
</TrbNetEntity>