fdhwlib  2.0.25
/home/kopmann/git-mirror/fdhwlib/fdhwlib/hw4/sltsetsecondcounteritem.h
Go to the documentation of this file.
00001 /***************************************************************************
00002                           sltsetsecoundcounteritem.h  -  description
00003                              -------------------
00004     begin                : Fr May 6 2008
00005     copyright            : (C) 2008 by 
00006     email                : 
00007  ***************************************************************************/
00008  
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef _HW4_SLTSETSECONDCOUNTERITEM_H_INCLUDED
00019 #define _HW4_SLTSETSECONDCOUNTERITEM_H_INCLUDED
00020 
00021 
00022 #include <hw4/baseregisteritem.h>
00023 
00024 
00025 namespace hw4 {
00026 
00027 // --- forward declaration(s)
00028 
00029 class BaseRegister;
00030 
00036 class SltSetSecondCounterItem : public BaseRegisterItem  {
00037 public: 
00038 
00040   SltSetSecondCounterItem(BaseRegister *reg, const char *name=0, unsigned long low=0, unsigned long len=32);
00041   
00046   SltSetSecondCounterItem(BaseRegisterItem *group, const char *name, unsigned long low, unsigned long len);
00047   
00048   ~SltSetSecondCounterItem();
00049 
00050   using hw4::BaseRegisterItem::write;
00051   
00053   void write(unsigned long data);
00054 };
00055 
00056 } // namespace hw4
00057 
00058 #endif // _HW4_SLTSETSECONDCOUNTERITEM_H_INCLUDED