pub const EEPROM_UNLOCK: u16 = 0x8000;
Writing this to the EEPROM unlock register (bit 15, EUN) makes subsequent writes to the programmable registers persist in EEPROM.