Richard Collins / USBHostControllerDriver
Embed: (wiki syntax)

« Back to documentation index

SetupPacket Struct Reference

SetupPacket Struct Reference

request_type of setup packet defined as.... More...

#include <UsbStructures.h>

Data Fields

uint16_t length
 The number of bytes in the data phase.

Detailed Description

request_type of setup packet defined as....

0 = Device 1 = Interface 2 = Endpoint 3 = Other 4..31 Reserved unsigned recipient:5;

0 = Standard 1 = Class 2 = Vendor 3 = Reserved. unsigned type:2;

0 = Host to device. 1 = Device to host. unsigned transferDirection:1;

Definition at line 396 of file UsbStructures.h.


Field Documentation

uint16_t length

The number of bytes in the data phase.

Definition at line 406 of file UsbStructures.h.