1.3.1.4.7 EMU_EEPROM_PageRead Function

1.3.1.4.7 C

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

1.3.1.4.7 Summary

Reads a page of data from an emulated EEPROM memory page.

1.3.1.4.7 Description

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

1.3.1.4.7 Precondition

Function EMU_EEPROM_Initialize should have been called before calling this function.

1.3.1.4.7 Parameters

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

1.3.1.4.7 Returns

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

1.3.1.4.7 Example

uint8_t my_buffer[EMU_EEPROM_PAGE_DATA_SIZE];

EMU_EEPROM_PageRead(0, my_buffer);

1.3.1.4.7 Remarks

None.