grbl-LPC-CoreXY/eeprom.h

10 lines
343 B
C
Raw Normal View History

#ifndef eeprom_h
#define eeprom_h
char eeprom_get_char(unsigned int addr);
void eeprom_put_char(unsigned int addr, unsigned char new_value);
void memcpy_to_eeprom_with_checksum(unsigned int destination, char *source, unsigned int size);
int memcpy_from_eeprom_with_checksum(char *destination, unsigned int source, unsigned int size);
#endif