Files @ 04999406e716
Branch filter:

Location: therm/eeprom_min.h

Ethan Zonca
Merge
#ifndef EEPROM_MIN_H
#define EEPROM_MIN_H

#define EEPROM_BASE_ADDR    0x08080000    
#define EEPROM_BYTE_SIZE    0x0FFF  

#define EEPROM_ADDR_WINDUP_GUARD 	0x001C
#define EEPROM_ADDR_BOOTTOBREW		0x0020
#define EEPROM_ADDR_K_P			0x0024
#define EEPROM_ADDR_K_I			0x0028
#define EEPROM_ADDR_K_D			0x002C

#define EEPROM_ADDR_BREWTEMP		0x0030
#define EEPROM_ADDR_STEAMTEMP		0x0034


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