1.3.1.4.7 EMU_EEPROM_PageRead Function

C

EMU_EEPROM_STATUS EMU_EEPROM_PageRead(
    const uint8_t logical_page,
    uint8_t *const dat
);

Summary

Reads a page of data from an emulated EEPROM memory page

Description

Reads an emulated EEPROM page of data from the emulated EEPROM memory space

Precondition

Function EMU_EEPROM_Initialize should have been called before calling this function.

Parameters

ParamDescription
logical_pageLogical EEPROM page number to read from
dataPointer to the destination data buffer to fill

Returns

EMU_EEPROM_STATUS - Enum of type EMU_EEPROM_STATUS. Status code indicating the status of the operation.

Example

uint8_t my_buffer[EMU_EEPROM_PAGE_DATA_SIZE];

EMU_EEPROM_PageRead(0, my_buffer);

Remarks

None