Expand description

Contains the DataReaderWriter struct that acts as an adapter to the Adapter_BackEnd DLL (via the function wrappers in adapter_backend.rs).

Structs

  • Represents a data reader/writer to a caller. Adapts the functions from the Adapter_BackEnd DLL (as wrapped by the functions in adapter_backend.rs).

Enums

  • Represents the memory blocks that can be accessed. Hides how memory blocks are actually identified.

Functions

  • Helper function to convert the MemoryBlockNumber enumeration to a string that names the memory block to be opened in the back-end functions.
  • Helper function to convert a DDR_ErrorCode to a human-readable representation.
  • Helper function to create a human-readable error message for the given error code, adding a prompt to provide some context to the error. Returns the string.
  • Helper function to format the given message and prompt into a single error message string, which is returned.
  • Convert the specified data up to the specified number of bytes into a string by performing a “hex dump” on the data.

Type Definitions

  • Alias representing the handle to the memory block being accessed.