Function description
void DALIR_DeleteShort(void)
This function:
•
Clears the DALI short address (unassigned address state)
3.2.5
eeprom.c
These files contain the EEPROM (flash emulated as EEPROM) management, read and
write routines.
void EEPROM_Init (void)
This function:
•
Initializes the MCU for emulated EEPROM
•
Initializes the variables related to emulated EEPROM
void E2_ResetEEPROM(void)
This set of functions:
•
Resets the EEPROM header
uint16_t E2_WriteMem(u16 VirtAddress, u16 Data),
void E2_WriteBurst(u16 addr, u16 times, u16* buf)
This set of functions:
•
Writes data to EEPROM
u16 E2_ReadMem(u16 VirtAddress,uint16_t* Data)
This set of functions:
•
Read data from EEPROM
static FLASH_Status EE_Format(void)
This set of functions:
•
Erases PAGE0 and PAGE1 and writes VALID_PAGE header to PAGE0
static uint16_t EE_FindValidPage(uint8_t Operation)
This set of functions:
•
Find valid Page for write or read operation
static uint16_t EE_VerifyPageFullWriteVariable(uint16_t VirtAddress, uint16_t
Data)
This set of functions:
•
Verify if active page is full and Writes variable in EEPROM
static uint16_t EE_PageTransfer(uint16_t VirtAddress, uint16_t Data)
This set of functions:
•
Transfers last updated variables data from the full Page to an empty one.
18/31
DocID025866 Rev 1
UM1728
Need help?
Do you have a question about the STM32F1 Series and is the answer not in the manual?
Questions and answers