From 5a8a503a14160901d7513076eb88b5cad211f0c7 Mon Sep 17 00:00:00 2001 From: Jan Michel Date: Tue, 22 Oct 2013 19:16:43 +0200 Subject: [PATCH] started including Hub registers --- xml-db/database/Hub.xml | 141 +++++++++++++++++++++++++++++++++++++--- xml-db/get.pl | 2 +- 2 files changed, 134 insertions(+), 9 deletions(-) diff --git a/xml-db/database/Hub.xml b/xml-db/database/Hub.xml index 97e8d71..c653934 100644 --- a/xml-db/database/Hub.xml +++ b/xml-db/database/Hub.xml @@ -6,24 +6,149 @@ > Register of the hub entity - + + address="0000" size="4" purpose="config"> Current status of each port of the hub on each channel. + address="0000" repeat="4" purpose="status" > Current status of each port of the hub on each channel. + start="0" bits="17" purpose="status" format="bitmask"> - - diff --git a/xml-db/get.pl b/xml-db/get.pl index 2ce9083..d841ab5 100755 --- a/xml-db/get.pl +++ b/xml-db/get.pl @@ -11,7 +11,7 @@ use if (!defined $ENV{'QUERY_STRING'}), Data::Dumper; use if (!defined $ENV{'QUERY_STRING'}), Data::TreeDumper; use if (!defined $ENV{'QUERY_STRING'}), Getopt::Long; - +# use Data::TreeDumper; my ($db,$data,$once,$slice); my $help = 0; my $verbose = 0; -- 2.43.0