LUFA Library  130901
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

Pipe management definitions. More...

Modules

 Pipe Control Request Management
 Pipe control request definitions.
 
 Pipe Data Reading and Writing
 Pipe data read/write definitions.
 
 Pipe Management (AVR8)
 Pipe management definitions for the Atmel AVR8 architecture.
 
 Pipe Management (UC3)
 Pipe management definitions for the Atmel AVR32 UC3 architecture.
 
 Pipe Packet Management
 Pipe packet management definitions.
 

Data Structures

struct  USB_Pipe_Table_t
 

Macros

#define PIPE_CONTROLPIPE   0
 
#define PIPE_EPNUM_MASK   0x0F
 
#define PIPE_PIPENUM_MASK   0x0F
 

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.

Macro Definition 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_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.