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 |
|
---|
12 | extern char* eeprom_names[0x2c];
|
---|
13 |
|
---|
14 | int eeprom_read(int p, u_int16_t* data, int start, int len);
|
---|
15 | void eeprom_dump(u_int16_t* data, int start, int len, int v);
|
---|
16 | int read_eepom_data_from_file(FILE* f, u_int16_t* data, u_int16_t* addr, int* len);
|
---|
17 | int 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.