fdhwlib  2.0.25
/home/kopmann/git-mirror/fdhwlib/fdhwlib/Hw/FltCurrent.h
Go to the documentation of this file.
00001 /***************************************************************************
00002     FltCurrent.h  -  description
00003 
00004     begin                : Fri Aug 4 2000
00005     copyright            : (C) 2000 by Andreas Kopmann
00006     email                : kopmann@hpe.fzk.de
00007  ***************************************************************************/
00008 
00009 
00010 #ifndef FLTCURRENT_H
00011 #define FLTCURRENT_H
00012 
00013 #include <Hw/FltDef.h>
00014 #include <Hw/FltPixRegister.h>
00015 
00031 //##ModelId=399121FE03BD
00032 class FltCurrent : public FltPixRegister  {
00033 public: 
00034         //##ModelId=399121FE03DB
00035         FltCurrent(const char * name, int slotID, int regID, int r, int w, int len);
00036         //##ModelId=399121FE03D6
00037         ~FltCurrent();
00038 
00043         //##ModelId=399121FE03D5
00044   void init();
00045 
00047   void reset();
00048 
00051         //##ModelId=399121FE03D3
00052   unsigned long read(int ch);
00053 
00056         //##ModelId=399121FE03CA
00057   void write(int ch, unsigned long data);
00058 
00062         //##ModelId=399121FE03C8
00063   int channelMap(int ch);
00064 };
00065 
00066 #endif