Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
eeprom.h
00001 /* 00002 eeprom.h - EEPROM methods 00003 Part of Grbl 00004 00005 Copyright (c) 2009-2011 Simen Svale Skogsrud 00006 00007 Grbl is free software: you can redistribute it and/or modify 00008 it under the terms of the GNU General Public License as published by 00009 the Free Software Foundation, either version 3 of the License, or 00010 (at your option) any later version. 00011 00012 Grbl is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU General Public License for more details. 00016 00017 You should have received a copy of the GNU General Public License 00018 along with Grbl. If not, see <http://www.gnu.org/licenses/>. 00019 */ 00020 00021 #ifndef eeprom_h 00022 #define eeprom_h 00023 #if defined(WIN32) || defined (STM32F103C8) 00024 void eeprom_init(); 00025 #endif 00026 unsigned char eeprom_get_char(unsigned int addr); 00027 void eeprom_put_char(unsigned int addr, unsigned char new_value); 00028 void memcpy_to_eeprom_with_checksum(unsigned int destination, char *source, unsigned int size); 00029 int memcpy_from_eeprom_with_checksum(char *destination, unsigned int source, unsigned int size); 00030 00031 #endif
Generated on Tue Jul 12 2022 20:45:31 by
 1.7.2
 1.7.2