configWrite16
Writes a 16-bit value to the PCI device's configuration space.
Declaration
void configWrite16(
IOByteCountoffset,
UInt16data )Parameters
- offset:
An offset into configuration space, of which bit 0 is ignored.
- data:
An 16-bit value to be written in host byte order (big endian on PPC).
Overview
This method write a 16-bit value to a configuration space register on the device.
See Also
Miscellaneous
configRead16configRead32configRead8configWrite32configWrite8enablePCIPowerManagementextendedConfigRead16extendedConfigRead32extendedConfigRead8extendedConfigWrite16extendedConfigWrite32extendedConfigWrite8extendedFindPCICapabilityfindPCICapabilitygetBusNumbergetDeviceMemoryWithRegistergetDeviceNumbergetFunctionNumberhasPCIPowerManagementioDeviceMemoryioRead16ioRead32ioRead8ioWrite16ioWrite32ioWrite8mapDeviceMemoryWithRegistersetBusMasterEnablesetConfigBitssetIOEnablesetMemoryEnable