| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
Endpoint.c File Reference
`#include "USBMode.h"`
`#include "Endpoint.h"`

Go to the source code of this file.

## Functions
PRAGMA_ALIGN_64 uint8_t usb_data_buffer[MAX_USB_CORE][USB_DATA_BUFFER_TEM_LENGTH] | ATTR_ALIGNED (uint8_t usb_data_buffer_OUT[MAX_USB_CORE][USB_DATA_BUFFER_TEM_LENGTH] ATTR_ALIGNED() __BSS(USBRAM_SECTION) 64)
void | Endpoint_ClearEndpoints (uint8_t corenum)
void | Endpoint_ClearStatusStage (uint8_t corenum)
| Completes the status stage of a control transfer on a CONTROL type endpoint automatically, with respect to the data direction. This is a convenience function which can be used to simplify user control request handling.
uint8_t | Endpoint_WaitUntilReady (void)
| Spin-loops until the currently selected non-control endpoint is ready for the next packet of data to be read or written to it.

## Function Documentation

PRAGMA_ALIGN_64 uint8_t usb_data_buffer [MAX_USB_CORE][USB_DATA_BUFFER_TEM_LENGTH] ATTR_ALIGNED | ( | uint8_t usb_data_buffer_OUT[MAX_USB_CORE][USB_DATA_BUFFER_TEM_LENGTH] ATTR_ALIGNED() __BSS(USBRAM_SECTION) | 64 | ) |

Definition at line 43 of file Endpoint.c.

void Endpoint_ClearEndpoints | ( | uint8_t | corenum | ) |

Definition at line 111 of file Endpoint.c.