LUFA Library 110528
Endpoint Management

Endpoint management definitions. More...

Modules

 Endpoint Management (AVR8)
 

Endpoint management definitions for the Atmel AVR8 architecture.


 Endpoint Data Reading and Writing
 

Endpoint data read/write definitions.


 Endpoint Packet Management
 

USB Endpoint package management definitions.


 Endpoint Management (UC3)
 

Endpoint management definitions for the Atmel AVR32 UC3 architecture.


Defines

#define ENDPOINT_EPNUM_MASK   0x07
#define ENDPOINT_EPDIR_MASK   0x80
#define ENDPOINT_CONTROLEP   0

Detailed Description

Functions, macros and enums related to endpoint management when in USB Device mode. This module contains the endpoint management macros, as well as endpoint interrupt and data send/receive functions for various data types.


Define Documentation

#define ENDPOINT_CONTROLEP   0

Endpoint address for the default control endpoint, which always resides in address 0. This is defined for convenience to give more readable code when used with the endpoint macros.

#define ENDPOINT_EPDIR_MASK   0x80

Endpoint direction mask, for masking against endpoint addresses to retrieve the endpoint's direction for comparing with the ENDPOINT_DESCRIPTOR_DIR_* masks.

#define ENDPOINT_EPNUM_MASK   0x07

Endpoint number mask, for masking against endpoint addresses to retrieve the endpoint's numerical address in the device.