source: drsdaq/VME/struck/sis1100/V2.02/test/devopen.h@ 23

Last change on this file since 23 was 22, checked in by ogrimm, 16 years ago
First commit of drsdaq program
File size: 340 bytes
Line 
1#ifndef _devopen_h_
2#define _devopen_h_
3
4struct devinfo {
5 int p_ctrl;
6 int p_remote;
7 int p_ram;
8 int p_dsp;
9 volatile u_int32_t* base_ctrl;
10 volatile u_int32_t* base_remote;
11 u_int32_t size_ctrl;
12 u_int32_t size_remote;
13 void (*close)(struct devinfo*);
14};
15
16int open_dev(char** pathes, struct devinfo*);
17
18#endif
Note: See TracBrowser for help on using the repository browser.