Project

General

Profile

Statistics
| Revision:

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

History | View | Annotate | Download (338 Bytes)

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