Contents

setIOEnable

Sets the device's I/O space response.

Declaration

virtual bool setIOEnable(
 bool enable,
 bool exclusive = false );

Parameters

  • enable:

    True or false to enable or disable the I/O space response.

  • exclusive:

    If true, only one setIOEnable with the exclusive flag set will be allowed at a time on the bus, this should be only for temporary access.

Return Value

True if the I/O space response was previously enabled, false otherwise.

Overview

This method sets the I/O space response bit in the device's command config space register to the passed value, and returns the previous state of the enable. The exclusive option allows only one exclusive device on the bus to be enabled concurrently, this should be only for temporary access.

See Also

Miscellaneous