LUFA Library  140302
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Read/Write of Multi-Byte Streams

Pipe data stream transmission and reception management. More...

Modules

 Read/Write of Multi-Byte Streams (AVR8)
 Pipe data stream transmission and reception management for the Atmel AVR8 architecture.
 
 Read/Write of Multi-Byte Streams (UC3)
 Pipe data stream transmission and reception management for the Atmel AVR32 UC3 architecture.
 

Enumerations

enum  Pipe_Stream_RW_ErrorCodes_t {
  PIPE_RWSTREAM_NoError = 0,
  PIPE_RWSTREAM_PipeStalled = 1,
  PIPE_RWSTREAM_DeviceDisconnected = 2,
  PIPE_RWSTREAM_Timeout = 3,
  PIPE_RWSTREAM_IncompleteTransfer = 4
}
 

Detailed Description

Functions, macros, variables, enums and types related to data reading and writing of data streams from and to pipes.

Enumeration Type Documentation

Enum for the possible error return codes of the Pipe_*_Stream_* functions.

Enumerator
PIPE_RWSTREAM_NoError 

Command completed successfully, no error.

PIPE_RWSTREAM_PipeStalled 

The device stalled the pipe during the transfer.

PIPE_RWSTREAM_DeviceDisconnected 

Device was disconnected from the host during the transfer.

PIPE_RWSTREAM_Timeout 

The device failed to accept or send the next packet within the software timeout period set by the USB_STREAM_TIMEOUT_MS macro.

PIPE_RWSTREAM_IncompleteTransfer 

Indicates that the pipe bank became full/empty before the complete contents of the stream could be transferred.