LPCOpen Platform  v1.03
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Endpoint Data Reading and Writing

Detailed Description

Endpoint data read/write definitions.

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

Modules

 Endpoint Data Reading and Writing (LPC11Uxx, LPC1347)
 Endpoint data read/write definitions for the LPC11Uxx and LPC1347 architecture.
 
 Endpoint Data Reading and Writing (LPC17xx)
 Endpoint data read/write definitions for the LPC architecture.
 
 Endpoint Data Reading and Writing (LPC18xx)
 Endpoint data read/write definitions for the LPC architecture.
 
 Read/Write of Multi-Byte Streams
 Endpoint data stream transmission and reception management.
 
 Read/Write of Primitive Data Types
 Endpoint data primitive read/write definitions.
 

Enumerations

enum  Endpoint_WaitUntilReady_ErrorCodes_t {
  ENDPOINT_READYWAIT_NoError = 0, ENDPOINT_READYWAIT_EndpointStalled = 1, ENDPOINT_READYWAIT_DeviceDisconnected = 2, ENDPOINT_READYWAIT_BusSuspended = 3,
  ENDPOINT_READYWAIT_Timeout = 4
}
 

Enumeration Type Documentation

Enum for the possible error return codes of the Endpoint_WaitUntilReady() function.

Enumerator:
ENDPOINT_READYWAIT_NoError 

Endpoint is ready for next packet, no error.

ENDPOINT_READYWAIT_EndpointStalled 

The endpoint was stalled during the stream transfer by the host or device.

ENDPOINT_READYWAIT_DeviceDisconnected 

Device was disconnected from the host while waiting for the endpoint to become ready.

ENDPOINT_READYWAIT_BusSuspended 

The USB bus has been suspended by the host and no USB endpoint traffic can occur until the bus has resumed.

ENDPOINT_READYWAIT_Timeout 

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

Definition at line 154 of file Endpoint.h.