/firmware/src/shared/Eeprom.hh

http://github.com/makerbot/G3Firmware · C++ Header · 16 lines · 10 code · 6 blank · 0 comment · 0 complexity · e6543b0dd51d0d24b3301e0e5376f52a MD5 · raw file

  1. #ifndef EEPROM_HH
  2. #define EEPROM_HH
  3. #include <stdint.h>
  4. namespace eeprom {
  5. void init();
  6. uint8_t getEeprom8(const uint16_t location, const uint8_t default_value);
  7. uint16_t getEeprom16(const uint16_t location, const uint16_t default_value);
  8. float getEepromFixed16(const uint16_t location, const float default_value);
  9. }
  10. #endif // EEPROM_HH