Richard Collins / USBHostControllerDriver
Embed: (wiki syntax)

« Back to documentation index

EndpointDescriptor Struct Reference

EndpointDescriptor Struct Reference

Host Controller Endpoint Descriptor. More...

#include <UsbStructures.h>

Data Fields

uint32_t control
 This is the USB address of the function containing the endpoint that this ED controls In the docs this is called 'FunctionAddress' but it is for our use for when the controller passes the object back to us.

Detailed Description

Host Controller Endpoint Descriptor.

An Endpoint Descriptor (ED) is a 16-byte, memory resident structure that must be aligned to a 16-byte boundary. The Host Controller traverses lists of EDs and if there are TDs linked to an ED, the Host Controller performs the indicated transfer.

Definition at line 294 of file UsbStructures.h.


Field Documentation

uint32_t control

This is the USB address of the function containing the endpoint that this ED controls In the docs this is called 'FunctionAddress' but it is for our use for when the controller passes the object back to us.

unsigned functionAddress:7;

This is the USB address of the endpoint within the function. unsigned endpointNumber:4;

unsigned D:2; unsigned S:1; unsigned K:1; unsigned F:1;

This field indicates the maximum number of bytes that can be sent to or received from the endpoint in a single data packet unsigned maximumPacketSize:11;

unsigned padding:5;

Definition at line 315 of file UsbStructures.h.