IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


UsbSpecDeviceRequest Struct Reference
[USB constants and data types]


Detailed Description

This structure represents a device request. Device requests are special packets sent from the host to a device on the default pipe (endpoint 0) with a USB_SPEC_PID_SETUP token. For details please refer to the USB specification.

The device requests described in the USB specification are handled by the USB stack. You only have to use this data structure for class or vendor-protocol-specific requests.

Note:
Mind that USB uses the little endianness when using this structure.
Since:
SC2x3 V1.00 - CLIB V1.00
Examples:

usbHostTransfer.c.

Data Fields

unsigned char requestType
unsigned char request
unsigned short value
unsigned short index
unsigned short length





Top of page | Main page

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