block interrupts while read/write in eeprom