<!--
{
  "availability" : [
    "DriverKit: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "PCIDriverKit",
  "identifier" : "/documentation/PCIDriverKit/IOPCIDevice/ConfigurationRead8",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PCIDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOPCIDevice@F@ConfigurationRead8#k#*c#"
  },
  "title" : "ConfigurationRead8"
}
-->

# ConfigurationRead8

Reads an 8-bit data value synchronously from the device’s configuration space.

```
void ConfigurationRead8(uint64_t offset, uint8_t *readData);
```

## Discussion

- offset: An offset into the configuration space. This method ignores bits 0 and 1. For a list of possible offset values, see [Configuration Data Offsets](/documentation/PCIDriverKit/configuration-data-offsets-enum).
  - readData: A variable that stores the 8-bit data value. If the method encounters an error, it sets the value to -1.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)