UDECX_ENDPOINT_TYPE enumeration (udecxusbdevice.h)

Defines values for endpoint types supported by a virtual USB device.

Syntax

typedef enum _UDECX_ENDPOINT_TYPE {
  UdecxEndpointTypeInvalid,
  UdecxEndpointTypeSimple,
  UdecxEndpointTypeDynamic
} UDECX_ENDPOINT_TYPE, *PUDECX_ENDPOINT_TYPE;

Constants

 
UdecxEndpointTypeInvalid
The endpoint is not of a valid type.
UdecxEndpointTypeSimple
The endpoint is defined in the first (and only) interface setting of the interface. That device has only one configuration. The client driver creates all endpoints before the device is detected.
UdecxEndpointTypeDynamic
The endpoint is dynamically created in the client driver's implementation of the EVT_UDECX_USB_DEVICE_ENDPOINTS_CONFIGURE callback.

Requirements

Requirement Value
Header udecxusbdevice.h (include Udecx.h)

See also

USB endpoints

UdecxUsbDeviceInitSetEndpointsType