diff --git a/eeprom_min.h b/eeprom_min.h new file mode 100644 --- /dev/null +++ b/eeprom_min.h @@ -0,0 +1,13 @@ +#ifndef EEPROM_MIN_H +#define EEPROM_MIN_H + +#define EEPROM_BASE_ADDR 0x08080000 +#define EEPROM_BYTE_SIZE 0x0FFF + +void Minimal_EEPROM_Unlock(void); +void Minimal_EEPROM_Lock(void); +FLASH_Status Minimal_FLASH_GetStatus(void); +FLASH_Status Minimal_FLASH_WaitForLastOperation(uint32_t Timeout); +void Minimal_EEPROM_ProgramWord(uint32_t Address, uint32_t Data); + +#endif