LUFA Library  120219
Pipe Management

Pipe management definitions. More...

Modules

 Pipe Management (AVR8)
 

Pipe management definitions for the Atmel AVR8 architecture.


 Pipe Data Reading and Writing
 

Pipe data read/write definitions.


 Pipe Packet Management
 

Pipe packet management definitions.


 Pipe Control Request Management
 

Pipe control request definitions.


 Pipe Management (UC3)
 

Pipe management definitions for the Atmel AVR32 UC3 architecture.


Defines

#define PIPE_CONTROLPIPE   0
#define PIPE_PIPENUM_MASK   0x0F
#define PIPE_EPNUM_MASK   0x0F
#define PIPE_EPDIR_MASK   0x80

Detailed Description

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


Define Documentation

#define PIPE_CONTROLPIPE   0

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

#define PIPE_EPDIR_MASK   0x80

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

#define PIPE_EPNUM_MASK   0x0F

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

#define PIPE_PIPENUM_MASK   0x0F

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

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines