fdhwlib
2.0.25
|
00001 /*************************************************************************** 00002 kaflthitratecontrolreg.h - description 00003 ------------------- 00004 begin : Mo Jul 11 2005 00005 copyright : (C) 2005 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 KAFLTHITRATECONTROLREG_H 00019 #define KAFLTHITRATECONTROLREG_H 00020 00021 #include <Hw/FltRegister.h> 00022 00028 class KaFltHitrateControlReg : public FltRegister { 00029 public: 00030 KaFltHitrateControlReg(const char * name, int slotID, int regID, int r, int w); 00031 ~KaFltHitrateControlReg(); 00032 00037 void set(int sampling, unsigned long mask); 00038 00039 00041 // void setSampling(int sec); 00042 00049 // void enable(unsigned long mask = 0x3fffff); 00050 00052 // void disable(unsigned long mask = 0x3fffff); 00053 00054 }; 00055 00056 #endif