fdhwlib  2.0.25
/home/kopmann/git-mirror/fdhwlib/fdhwlib/Hw/SltInterruptMask.h
Go to the documentation of this file.
00001 /***************************************************************************
00002     SltInterruptMask.h  -  description
00003 
00004     begin                : Wed Jul 26 2000
00005     copyright            : (C) 2000 by Andreas Kopmann
00006     email                : kopmann@hpe.fzk.de
00007  ***************************************************************************/
00008 
00009 
00010 #ifndef SLTINTERRUPTMASK_H
00011 #define SLTINTERRUPTMASK_H
00012 
00013 #include <Hw/SltDef.h>
00014 #include <Hw/SltRegister.h>
00015 
00016 
00017 
00025 //##ModelId=39914F0400E6
00026 class SltInterruptMask : public SltRegister  {
00027 public: 
00028         //##ModelId=39914F040108
00029         SltInterruptMask(const char *name, int slotID, int regID, int r, int w);
00030         //##ModelId=39914F040107
00031         ~SltInterruptMask();
00032 
00033         //##ModelId=39914F040105
00034   void enable(unsigned long mask);
00035 
00036         //##ModelId=39914F0400F3
00037   void disable(unsigned long mask);
00038 
00039         //##ModelId=39914F0400F1
00040   bool isEnabled(unsigned long mask);
00041 
00042 };
00043 
00044 
00045 #endif