IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


UsbEp Struct Reference
[USB constants and data types]


Detailed Description

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

Since:
SC2x3 V1.00 - CLIB V1.00
See also:
usbHostGetEpInfo
Example:
/* The following UsbEp data structure could be returned by the function
 * usbHostGetEpInfo() for one of a USB flash drive device's endpoints.
 */
{
  USB_SPEC_TRANSFER_TYPE_BULK,  // transferType:      Bulk endpoint
  64,                           // maxPacketSize:     Max. 64 bytes/packet
  0,                            // interval:          Not used for bulk endpoints
  NULL,                         // specificDesc:      No class or vendor-specific
                                //                    descriptor
  0                             // specificDescLength
} 
Examples:

usbExample00.c.

Data Fields

unsigned char transferType
unsigned short maxPacketSize
unsigned char interval
char * specificDesc
unsigned short specificDescLength





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:40 2017 by Doxygen 1.6.1