setMemoryEnable
Sets the device's memory space response.
Declaration
virtual bool setMemoryEnable(
boolenable );Parameters
- enable:
True or false to enable or disable the memory space response.
Return Value
True if the memory space response was previously enabled, false otherwise.
Overview
This method sets the memory space response bit in the device's command config space register to the passed value, and returns the previous state of the enable.
See Also
Miscellaneous
configRead16configRead32configRead8configWrite16configWrite32configWrite8enablePCIPowerManagementextendedConfigRead16extendedConfigRead32extendedConfigRead8extendedConfigWrite16extendedConfigWrite32extendedConfigWrite8extendedFindPCICapabilityfindPCICapabilitygetBusNumbergetDeviceMemoryWithRegistergetDeviceNumbergetFunctionNumberhasPCIPowerManagementioDeviceMemoryioRead16ioRead32ioRead8ioWrite16ioWrite32ioWrite8mapDeviceMemoryWithRegistersetBusMasterEnablesetConfigBitssetIOEnable