Partager via


USBDBG_ENDPTDIR (Compact 2013)

10/16/2014

This enumeration specifies the direction of a USB endpoint.

Syntax

typedef enum USBDBG_ENDPTDIR
{
    ENDPT_DIR_RX = 0,
    ENDPT_DIR_OUT = 0,
    ENDPT_DIR_TX = 1,
    ENDPT_DIR_IN = 1
} USBDBG_ENDPTDIR;

Elements

  • ENDPT_DIR_RX
    Equals 0. Specifies a receive endpoint.
  • ENDPT_DIR_OUT
    Equals 0. Specifies an out endpoint.
  • ENDPT_DIR_TX
    Equals 1. Specifies a transmit endpoint.
  • ENDPT_DIR_IN
    Equals 1. Specifies an in endpoint.

Remarks

The ENDPT_DIR_RX and ENDPT_DIR_OUT values are logically and functionally the same, as are the ENDPT_DIR_TX and ENDPT_DIR_IN values.

Requirements

Header

UsbDbgDdsi.h

See Also

Reference

USBDBG PDD Enumerations