3 This file is part of the MSP Märklin suite
4 Copyright © 2010 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
11 #define BIT(n) (1<<(n))
13 static void eeprom_wait(void)
15 while(EECR&BIT(EEPE)) ;
18 void eeprom_write(uint16_t addr, uint8_t data)
29 uint8_t eeprom_read(uint16_t addr)