| LUFA Library 140302 |

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Modules | Enumerations
Read/Write of Multi-Byte Streams
Endpoint Data Reading and Writing

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

## Modules
| Read/Write of Multi-Byte Streams (AVR8)
| Endpoint data stream transmission and reception management for the Atmel AVR8 architecture.
| Read/Write of Multi-Byte Streams (EFM32GG)
| Endpoint data stream transmission and reception management for the Silabs Giant Gecko EFM32GG architecture.
| Read/Write of Multi-Byte Streams (UC3)
| Endpoint data stream transmission and reception management for the Atmel AVR32 UC3 architecture.
| Read/Write of Multi-Byte Streams (XMEGA)
| Endpoint data stream transmission and reception management for the Atmel AVR XMEGA architecture.

## Enumerations
enum | Endpoint_ControlStream_RW_ErrorCodes_t { ENDPOINT_RWCSTREAM_NoError = 0, ENDPOINT_RWCSTREAM_HostAborted = 1, ENDPOINT_RWCSTREAM_DeviceDisconnected = 2, ENDPOINT_RWCSTREAM_BusSuspended = 3 }
enum | Endpoint_Stream_RW_ErrorCodes_t { ENDPOINT_RWSTREAM_NoError = 0, ENDPOINT_RWSTREAM_EndpointStalled = 1, ENDPOINT_RWSTREAM_DeviceDisconnected = 2, ENDPOINT_RWSTREAM_BusSuspended = 3, ENDPOINT_RWSTREAM_Timeout = 4, ENDPOINT_RWSTREAM_IncompleteTransfer = 5 }

## Detailed Description

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

## Enumeration Type Documentation

enum Endpoint_ControlStream_RW_ErrorCodes_t

Enum for the possible error return codes of the `Endpoint_*_Control_Stream_*` functions.

Enumerator
ENDPOINT_RWCSTREAM_NoError | Command completed successfully, no error.
ENDPOINT_RWCSTREAM_HostAborted | The aborted the transfer prematurely.
ENDPOINT_RWCSTREAM_DeviceDisconnected | Device was disconnected from the host during the transfer.
ENDPOINT_RWCSTREAM_BusSuspended | The USB bus has been suspended by the host and no USB endpoint traffic can occur until the bus has resumed.

enum Endpoint_Stream_RW_ErrorCodes_t

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

Enumerator
ENDPOINT_RWSTREAM_NoError | Command completed successfully, no error.
ENDPOINT_RWSTREAM_EndpointStalled | The endpoint was stalled during the stream transfer by the host or device.
ENDPOINT_RWSTREAM_DeviceDisconnected | Device was disconnected from the host during the transfer.
ENDPOINT_RWSTREAM_BusSuspended | The USB bus has been suspended by the host and no USB endpoint traffic can occur until the bus has resumed.
ENDPOINT_RWSTREAM_Timeout | The host failed to accept or send the next packet within the software timeout period set by the USB_STREAM_TIMEOUT_MS macro.
ENDPOINT_RWSTREAM_IncompleteTransfer | Indicates that the endpoint bank became full or empty before the complete contents of the current stream could be transferred. The endpoint stream function should be called again to process the next chunk of data in the transfer.