fdhwlib
2.0.25
|
00001 /*************************************************************************** 00002 sltsetsecondcounter.h - description 00003 00004 begin : Thu Apr 22 2004 00005 copyright : (C) 2004 by A Kopmann 00006 email : kopmann@ipe.fzk.de 00007 status : 00008 test : 00009 history : 00010 ***************************************************************************/ 00011 00012 00013 #ifndef _HW4_SLTSETSECONDCOUNTER_H_INCLUDED 00014 #define _HW4_SLTSETSECONDCOUNTER_H_INCLUDED 00015 00016 #include <hw4/baseregister.h> 00017 #include <hw4/sltsetsecondcounteritem.h> 00018 00019 00020 namespace hw4 { 00021 00027 class SltSetSecondCounter : public BaseRegister { 00028 public: 00029 SltSetSecondCounter(const char *name, int slotID, int regID, int r, int w); 00030 ~SltSetSecondCounter(); 00031 00032 00034 SltSetSecondCounterItem *actualTime; 00035 00037 void setTimebase(int timebase); 00038 00054 unsigned long setActualTime(); 00055 00056 00057 int timebase; 00058 00059 }; 00060 00061 } // namespace hw4 00062 00063 #endif // _HW4_SLTSETSECONDCOUNTER_H_INCLUDED