Project

General

Profile

Statistics
| Revision:

root / trunk / code / projects / libdragonfly / eeprom.h @ 1461

History | View | Annotate | Download (338 Bytes)

1 853 bneuman
 #ifndef _EEPROM_H_
2
 #define _EEPROM_H_
3
4 945 abuchan
 #define EEPROM_ROBOT_ID_ADDR 0x10
5
 #define EEPROM_BOM_TYPE_ADDR 0x14
6
7 853 bneuman
 int eeprom_put_byte(unsigned int addr, unsigned char byte);
8
9
 int eeprom_get_byte(unsigned int addr, unsigned char *byte);
10
11 945 abuchan
 unsigned char get_robotid(void);
12
13
 unsigned char get_bom_type(void);
14 853 bneuman
15
 #endif