![]() |
LUFA Library
120219
|
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 (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_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 } |
enum | Endpoint_ControlStream_RW_ErrorCodes_t { ENDPOINT_RWCSTREAM_NoError = 0, ENDPOINT_RWCSTREAM_HostAborted = 1, ENDPOINT_RWCSTREAM_DeviceDisconnected = 2, ENDPOINT_RWCSTREAM_BusSuspended = 3 } |
Functions, macros, variables, enums and types related to data reading and writing of data streams from and to endpoints.
Enum for the possible error return codes of the Endpoint_*_Control_Stream_*
functions.
Enum for the possible error return codes of the Endpoint_*_Stream_*
functions.
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. |