Revision 1572 branches/ir_branch/code/lib/include/libdragonfly/eeprom.h

View differences:

eeprom.h
12 12
 
13 13
 #define EEPROM_ROBOT_ID_ADDR 0x10
14 14
 #define EEPROM_BOM_TYPE_ADDR 0x14
15
 #define EEPROM_IR_OFFSET_ADDR 0x20
15 16
 
16 17
 /** @brief store a byte to eeproem
17 18
  *  @return 0 if success, nonzero on failure
......
44 45
  */
45 46
 unsigned char get_bom_type(void);
46 47
 
48
    /** @brief get stored robot ID
49
  *
50
  * checks that EEPROM has been programed with an BOM type and returns it
51
  *
52
  *  @return the robot bom type as defined in bom.h, if it is stored. If it returns 0xFF it is probably invalid
53
  */
54
 unsigned char get_ir_offset(void);
55
 
56
 
47 57
 #endif

Also available in: Unified diff