Bewerken

Delen via


SpbIoctl enumeration (spb.h)

Defines values to indicate the type I/O control request.

Syntax

typedef enum SpbIoctl {
  IOCTL_SPB_LOCK_CONTROLLER,
  IOCTL_SPB_UNLOCK_CONTROLLER,
  IOCTL_SPB_EXECUTE_SEQUENCE,
  IOCTL_SPB_LOCK_CONNECTION,
  IOCTL_SPB_UNLOCK_CONNECTION,
  IOCTL_SPB_FULL_DUPLEX,
  IOCTL_SPB_MULTI_SPI_TRANSFER
}  *PSpbIoctl;

Constants

 
IOCTL_SPB_LOCK_CONTROLLER
The IOCTL_SPB_LOCK_CONTROLLER control code is used by a client (peripheral driver) to lock the SPB controller. While the controller is locked, the client has exclusive use of the bus to access the specified target device for the lock.
IOCTL_SPB_UNLOCK_CONTROLLER
The IOCTL_SPB_UNLOCK_CONTROLLER I/O control code is used by a client (peripheral driver) to unlock the SPB controller. The client previously locked the controller to gain exclusive use of the bus to access a target device on the bus.
IOCTL_SPB_EXECUTE_SEQUENCE
The IOCTL_SPB_EXECUTE_SEQUENCE I/O control code enables a client (peripheral driver) of the SPB controller driver to perform a sequence of transfers (reads and writes) as a single, atomic operation with one I/O request. The designated device on the bus is the target for all transfers in the sequence.
IOCTL_SPB_LOCK_CONNECTION
The IOCTL_SPB_LOCK_CONNECTION control code is used by a client (peripheral driver) to acquire the connection lock on an SPB-connected target device that is shared with another client. While a client holds the connection lock, this client has exclusive access to the device.
IOCTL_SPB_UNLOCK_CONNECTION
The IOCTL_SPB_UNLOCK_CONNECTION I/O control code is used by a client (peripheral driver) to release the connection lock on an SPB-connected target device that is shared with another client. The client previously sent an IOCTL_SPB_LOCK_CONNECTION request to acquire exclusive access to the device.
IOCTL_SPB_FULL_DUPLEX
The IOCTL_SPB_FULL_DUPLEX control code is used by a client (peripheral driver) to request a full-duplex I/O operation. Full-duplex I/O operations are supported by controllers for buses such as SPI that can simultaneously read and write data.
IOCTL_SPB_MULTI_SPI_TRANSFER
The IOCTL_SPB_MULTI_SPI_TRANSFER control code is used by a client (peripheral driver) to request a SPI I/O operation to use a multi-SPI transfer mode such as Dual or Quad SPI. Multi-SPI I/O operations are supported by controllers for SPI buses that support data transfer in Dual or Quad SPI line modes.

Requirements

Requirement Value
Minimum supported client Supported starting with Windows 8.
Header spb.h