typedef int(* libmem_driver_read_fn_t)(libmem_driver_handle_t *h, uint8_t *dest, const uint8_t *src, size_t size)
 

A function pointer to a LIBMEM driver's read extended function.

Parameters:
h   A pointer to the handle of the LIBMEM driver.
dest   A pointer to the initial memory address to write data to.
src   A pointer to the initial memory address in the memory range handled by the driver to read data from.
size   The number of bytes to write.
Returns:
The LIBMEM status result.
The driver's read function is an optional extended function. It has been provided to allow you to write a driver for memory that is not memory mapped.

Typically memory read operations will be direct memory mapped operations however implementing a driver's read function allows you to access non-memory mapped memory through the LIBMEM interface.