fdhwlib  2.0.25
/home/kopmann/git-mirror/fdhwlib/fdhwlib/hw4/sltcounter.h
Go to the documentation of this file.
00001 /***************************************************************************
00002     sltcounter.h  -  description
00003 
00004     begin                : Fri Sep 12 2008
00005     copyright            : (C) 2008 by A Kopmann
00006     email                : kopmann@ipe.fzk.de
00007     status               :
00008     test                 :
00009     history              :
00010  ***************************************************************************/
00011 
00012 
00013 
00014 #ifndef _HW4_SLTCOUNTER_H_INCLUDED
00015 #define _HW4_SLTCOUNTER_H_INCLUDED
00016 
00017 #include <hw4/sltdef.h>
00018 #include <hw4/baseregister.h>
00019 
00020 
00021 namespace hw4 {
00022 
00030 class SltCounter : public BaseRegister {
00031 
00032 public:
00033 
00034   SltCounter(const char * name, int slotID, unsigned int regID, int r, int w);
00035         
00036   virtual ~SltCounter();
00037 
00038   virtual unsigned long read();
00039 
00040   virtual void write(unsigned long data);
00041 
00042 };
00043 
00044 } // namespace hw4
00045 
00046 #endif // _HW4_SLTCOUNTER_H_INCLUDED