EE_FindValidPage() is only used within EEPROM_Emulation.
 
Symbols
loading...
Files
loading...

EE_FindValidPage() function

Find valid Page for write or read operation

Syntax

static uint16_t EE_FindValidPage(uint8_t Operation);
Implemented in eeprom.c:481

Arguments

Operation

operation to achieve on the valid page. This parameter can be one of the following values: @arg READ_FROM_VALID_PAGE: read operation from valid page @arg WRITE_IN_VALID_PAGE: write operation from valid page

Return value

Valid page number (PAGE or PAGE1) or NO_VALID_PAGE in case of no valid page was found

References

LocationReferrerText
eeprom.c:481
static uint16_t EE_FindValidPage(uint8_t Operation)
eeprom.c:39
static uint16_t EE_FindValidPage(uint8_t Operation);
eeprom.c:353EE_ReadVariable()
ValidPage = EE_FindValidPage(READ_FROM_VALID_PAGE);
eeprom.c:560EE_VerifyPageFullWriteVariable()
ValidPage = EE_FindValidPage(WRITE_IN_VALID_PAGE);
eeprom.c:625EE_PageTransfer()
ValidPage = EE_FindValidPage(READ_FROM_VALID_PAGE);

Call Tree

Functions calling EE_FindValidPage()
EE_FindValidPage()
Data read by EE_FindValidPage()
Data written by EE_FindValidPage()
EE_FindValidPage()::PageStatus0
EE_FindValidPage()::PageStatus1
all items filtered out
EE_FindValidPage()
EE_FindValidPage()::PageStatus0
EE_FindValidPage()::PageStatus1
all items filtered out
Type of EE_FindValidPage()
EE_FindValidPage()
uint16_t
all items filtered out