Contents

MemoryRead16

Reads a 16-bit value synchronously from the PCI device’s aperture at the specified memory index.

Declaration

void MemoryRead16(uint8_t memoryIndex, uint64_t offset, uint16_t *readData);

Parameters

  • memoryIndex:

    The index of the memory range from which to read.

  • offset:

    An offset from the beginning of the specified memory range.

  • readData:

    A variable in which to store the data. If this method encounters an error when reading the data, it sets the value to -1.

See Also

Reading and Writing Memory Locations