EE_FindValidPage() function
Find valid Page for write or read operation
Syntax
static uint16_t EE_FindValidPage(uint8_t Operation); 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