source: drsdaq/VME/struck/sis1100/V2.02/eeprom_tools/plx_eeprom.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: 474 bytes
Line 
1/*
2 * $ZEL: plx_eeprom.h,v 1.1 2003/08/21 17:30:34 wuestner Exp $
3 */
4
5#ifndef _plx_eeprom_h_
6#define _plx_eeprom_h_
7
8#include <stdio.h>
9
10#define EEPROM_LEN 0x2c
11
12extern char* eeprom_names[0x2c];
13
14int eeprom_read(int p, u_int16_t* data, int start, int len);
15void eeprom_dump(u_int16_t* data, int start, int len, int v);
16int read_eepom_data_from_file(FILE* f, u_int16_t* data, u_int16_t* addr, int* len);
17int eeprom_write(int p, u_int16_t* data, int start, int len);
18
19#endif
Note: See TracBrowser for help on using the repository browser.