USBFN_DIRECTION enumeration (usbfnbase.h)

Defines the USB data transfer direction types.

Syntax

typedef enum _USBFN_DIRECTION {
  UsbfnDirectionMinimum,
  UsbfnDirectionIn,
  UsbfnDirectionOut,
  UsbfnDirectionTx,
  UsbfnDirectionRx,
  UsbfnDirectionMaximum
} USBFN_DIRECTION, *PUSBFN_DIRECTION;

Constants

 
UsbfnDirectionMinimum
The minimum value in this enumeration.
UsbfnDirectionIn
The transfer is to the host from an endpoint.
UsbfnDirectionOut
The transfer is from the host to the endpoint.
UsbfnDirectionTx
The bus transfer to the host from the device.
UsbfnDirectionRx
The bus transfer is from the host to the device.
UsbfnDirectionMaximum
The maximum value in this enumeration.

Requirements

Requirement Value
Header usbfnbase.h