fdhwlib  2.0.25
/home/kopmann/git-mirror/fdhwlib/fdhwlib/katrinhw4/fltkatrinthreshold.h
Go to the documentation of this file.
00001 /***************************************************************************
00002     fltkatrinthreshold.h  -  description
00003 
00004     begin                : Sep 21 2009
00005     copyright            : (C) 2000 by Till Bergmann
00006     email                : bergmann@ipe.fzk.de
00007  ***************************************************************************/
00008 
00009 
00010 #ifndef _HW4_FLTKATRINTHRESHOLD_H_INCLUDED
00011 #define _HW4_FLTKATRINTHRESHOLD_H_INCLUDED
00012 
00013 #include <hw4/fltdef.h>
00014 #include <hw4/baseregister.h>
00015 
00016 
00017 namespace hw4 {
00018 
00019 // --- forward declaration(s)
00020 
00021 class BaseRegisterItem;
00022 
00029 class FltKatrinThreshold : public BaseRegister {
00030 public: 
00031   FltKatrinThreshold(const char *name, int slotID, int regID, int r, int w, int len, int addrShift);
00032   ~FltKatrinThreshold();
00033 
00034 
00036   BaseRegisterItem *actual;
00037   
00039   int getThreshold(int ch);
00040 
00042   void setThreshold(int ch, long unsigned int thresh);
00043 
00044 };
00045 
00046 } // namespace hw4
00047         
00048 #endif // _HW4_FLTKATRINTHRESHOLD_H_INCLUDED
00049