lrs1190.h

Go to the documentation of this file.
00001 /*********************************************************************
00002   Name:         lrs1190.h
00003   Created by:   Pierre-Andre Amaudruz
00004 
00005   Contents:     lrs1190 LeCroy 32bits Dual port memory (32K)
00006 
00007   $Id: lrs1190.h 3761 2007-07-20 04:30:04Z amaudruz $
00008 *********************************************************************/
00009 #ifndef  LRS1190_INCLUDE_H
00010 #define  LRS1190_INCLUDE_H
00011 
00012 #include <stdio.h>
00013 #include <string.h>
00014 #include "mvmestd.h"
00015 
00016 #ifdef __cplusplus
00017 extern "C" {
00018 #endif
00019 
00020 #define  LRS1190_ENABLE_RW       (DWORD) (0x8002)
00021 #define  LRS1190_RESET_WO        (DWORD) (0x0000)
00022 #define  LRS1190_DATA_RO         (DWORD) (0x0000)
00023 #define  LRS1190_COUNT_RO        (DWORD) (0x8000)
00024 
00025 void lrs1190_Reset(MVME_INTERFACE *mvme, DWORD base);
00026 void lrs1190_Enable(MVME_INTERFACE *mvme, DWORD base);
00027 void lrs1190_Disable(MVME_INTERFACE *mvme, DWORD base);
00028 int  lrs1190_CountRead(MVME_INTERFACE *mvme, DWORD base);
00029 int  lrs1190_I4Read(MVME_INTERFACE *mvme, DWORD base, DWORD *data, int);
00030 int  lrs1190_L2Read(MVME_INTERFACE *mvme, DWORD base, WORD *data, int);
00031 int  lrs1190_H2Read(MVME_INTERFACE *mvme, DWORD base, WORD *data, int);
00032 
00033 #ifdef __cplusplus
00034 }
00035 #endif
00036 
00037 #endif // V792_INCLUDE_H
00038 
00039 /* emacs
00040  * Local Variables:
00041  * mode:C
00042  * mode:font-lock
00043  * tab-width: 8
00044  * c-basic-offset: 2
00045  * End:
00046  */

Midas DOC Version 2.0.2 ---- PSI Stefan Ritt ----
Contributions: Pierre-Andre Amaudruz - Sergio Ballestrero - Suzannah Daviel - Doxygen - Peter Green - Qing Gu - Greg Hackman - Gertjan Hofman - Paul Knowles - Exaos Lee - Rudi Meier - Glenn Moloney - Dave Morris - John M O'Donnell - Konstantin Olchanski - Renee Poutissou - Tamsen Schurman - Andreas Suter - Jan M.Wouters - Piotr Adam Zolnierczuk