From 6b370d6a7ecdc7c144d3f29372f64deebaa8e582 Mon Sep 17 00:00:00 2001 From: guest Date: Wed, 10 Oct 2007 10:06:36 +0000 Subject: added DAIS debug output git-svn-id: svn+ssh://mecka.net/home/svn/dds@6 c30cbac5-9f56-4f76-8ed5-5c34e48a65ae --- dds_io_sub/diasio.h | 51 ++++++++++++++++++++++++--------------------------- 1 file changed, 24 insertions(+), 27 deletions(-) (limited to 'dds_io_sub/diasio.h') diff --git a/dds_io_sub/diasio.h b/dds_io_sub/diasio.h index ae27b50..d8a752f 100644 --- a/dds_io_sub/diasio.h +++ b/dds_io_sub/diasio.h @@ -25,34 +25,31 @@ #define D_TCDIASIOC_BEENDENAUFHEBEN _IO( D_TCDIAS_IOC_MAGIC, 6 ) #define D_TCDIAS_IOC_MAXNR 7 -/* -static TyuInt32 S_AdresseLS7166 = 0; -static TyuInt32 S_AdresseLS7166Status = 1; -static TyuInt32 S_Adresse7Seg1 = 2; -static TyuInt32 S_Adresse7Seg2 = 3; -*/ -static TyuInt32 S_AdresseOut = 4; -/* -static TyuInt32 S_AdresseIn = 5; -static TyuInt32 S_AdresseWatchdog = 0x0c; -static TyuInt32 S_AdresseStatus = 6; -static TyuInt32 S_AdresseADStart = 7; -static TyuInt32 S_AdresseMultiplexer = 8; -static TyuInt32 S_AdresseFreigabe = 9; -static TyuInt32 S_AdresseRevisionLogik = 0x0e; -static TyuInt32 S_AdresseRevisionKarte = 0x0f; -*/ + +static const TyuInt32 S_AdresseLS7166 = 0; +static const TyuInt32 S_AdresseLS7166Status = 1; +static const TyuInt32 S_Adresse7Seg1 = 2; +static const TyuInt32 S_Adresse7Seg2 = 3; +static const TyuInt32 S_AdresseOut = 4; +static const TyuInt32 S_AdresseIn = 5; +static const TyuInt32 S_AdresseWatchdog = 0x0c; + +static const TyuInt32 S_AdresseStatus = 6; +static const TyuInt32 S_AdresseADStart = 7; +static const TyuInt32 S_AdresseMultiplexer = 8; +static const TyuInt32 S_AdresseFreigabe = 9; +static const TyuInt32 S_AdresseRevisionLogik = 0x0e; +static const TyuInt32 S_AdresseRevisionKarte = 0x0f; + //zweiter Adressblock -/* -static TyuInt32 S_AdresseFrequenzzaehlerLW = 0; -static TyuInt32 S_AdresseFrequenzzaehlerHW = 2; -static TyuInt32 S_AdresseIndexRevisionZaehler = 4; -static TyuInt32 S_AdresseAD = 6; -static TyuInt32 S_AdresseDA0 = 8; -static TyuInt32 S_AdresseDA1 = 0x0a; -static TyuInt32 S_AdresseDA2 = 0x0c; -static TyuInt32 S_AdresseDA3 = 0x0e; -*/ +static const TyuInt32 S_AdresseFrequenzzaehlerLW = 0; +static const TyuInt32 S_AdresseFrequenzzaehlerHW = 2; +static const TyuInt32 S_AdresseIndexRevisionZaehler = 4; +static const TyuInt32 S_AdresseAD = 6; +static const TyuInt32 S_AdresseDA0 = 8; +static const TyuInt32 S_AdresseDA1 = 0x0a; +static const TyuInt32 S_AdresseDA2 = 0x0c; +static const TyuInt32 S_AdresseDA3 = 0x0e; // -- exported global variables - declarations (should be empty)---------------- class DIASIO{ -- cgit v1.2.3