Contents

setBusMasterEnable

Enables bus mastering on the device.

Declaration

virtual bool setBusMasterEnable(
 boolenable );

Parameters

  • enable:

    True or false to enable or disable bus mastering.

Return Value

True if bus mastering was previously enabled, false otherwise.

Overview

This method sets the bus mastering enabled bit in the device’s command config space register to the passed value, and returns the previous enabled state.

See Also

Miscellaneous