Project

General

Profile

Statistics
| Revision:

root / trunk / code / lib / include / libdragonfly / eeprom.h @ 1461

History | View | Annotate | Download (338 Bytes)

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