configRead16
Reads a 16-bit value from the PCI device's configuration space.
Declaration
UInt16 configRead16(
IOByteCountoffset )Parameters
- offset:
An offset into configuration space, of which bit 0 is ignored.
Return Value
An 16-bit value in host byte order (big endian on PPC).
Overview
This method reads a 16-bit configuration space register on the device and returns its value.
See Also
Miscellaneous
configRead32configRead8configWrite16configWrite32configWrite8enablePCIPowerManagementextendedConfigRead16extendedConfigRead32extendedConfigRead8extendedConfigWrite16extendedConfigWrite32extendedConfigWrite8extendedFindPCICapabilityfindPCICapabilitygetBusNumbergetDeviceMemoryWithRegistergetDeviceNumbergetFunctionNumberhasPCIPowerManagementioDeviceMemoryioRead16ioRead32ioRead8ioWrite16ioWrite32ioWrite8mapDeviceMemoryWithRegistersetBusMasterEnablesetConfigBitssetIOEnablesetMemoryEnable