fdhwlib  2.0.25
/home/kopmann/git-mirror/fdhwlib/fdhwlib/katrinhw/kaflttriggermemory.h
Go to the documentation of this file.
00001 /***************************************************************************
00002                           kaflttriggermemory.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 KAFLTTRIGGERMEMORY_H
00019 #define KAFLTTRIGGERMEMORY_H
00020 
00021 #include <Hw/FltMemory.h>
00022 
00023 class KaEvent;
00024 
00036 class KaFltTriggerMemory : public FltMemory {
00037 public:                                     
00038   KaFltTriggerMemory(const char * name, int slotID, int regID, int len);
00039   ~KaFltTriggerMemory();
00040 
00042   unsigned long read(unsigned long addr);
00043 
00045   void read(unsigned long *data, int len = 0);  
00046 
00048   void write(unsigned long addr, unsigned long data);
00049 
00051   void write(unsigned long *data, int len = 0);
00052 
00054   void read(int page, KaEvent *event);
00055 
00057   void write(int page, KaEvent *event);
00058 
00060   void read(int page0, int page1, KaEvent *event[]);
00061 
00062 };
00063 
00064 #endif