PageRenderTime 15ms CodeModel.GetById 9ms app.highlight 4ms RepoModel.GetById 1ms app.codeStats 0ms

/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
 4#include <stdint.h>
 5
 6namespace eeprom {
 7
 8void init();
 9
10uint8_t getEeprom8(const uint16_t location, const uint8_t default_value);
11uint16_t getEeprom16(const uint16_t location, const uint16_t default_value);
12float getEepromFixed16(const uint16_t location, const float default_value);
13
14}
15
16#endif // EEPROM_HH