IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page

UsbInterface Struct Reference
[USB constants and data types]

Detailed Description

This structure represents the information from an interface descriptor. It is returned by the API function usbHostGetInterfaceInfo(). For detailed information on interface descriptors refer to the USB specification.

SC2x3 V1.00 - CLIB V1.00
See also:
/* The following UsbInterface data structure could be returned by the function
 * usbHostGetInterfaceInfo() for a USB flash drive device's interface.
  1,             // nAltSetting:        Only this single setting
  2,             // nEp:                2 endpoints
  0x00020002UL,  // epBitmap:           Out endpoint 1 and in endpoint 1
  0x08,          // classCode:          Mass storage class (MSC)
  0x06,          // subClassCode:       SCSI transparent command set
  0x50,          // protocolCode:       Bulk-only transport
  0,             // stringIndex:        No interface string
  NULL,          // specificDesc:       No class or vendor-specific descriptor
  0              // specificDescLength


Data Fields

unsigned char nAltSetting
unsigned char nEp
unsigned long epBitmap
unsigned char classCode
unsigned char subClassCode
unsigned char protocolCode
unsigned char stringIndex
char * specificDesc
unsigned short specificDescLength

Top of page | Main page

Copyright © 2018 Beck IPC GmbH
Generated on Thu Nov 1 13:20:18 2018 by Doxygen 1.6.1