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

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

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
Endpoint Data Reading and Writing (LPC17xx)
Endpoint Data Reading and Writing

## Detailed Description

Endpoint data read/write definitions for the LPC architecture.

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

## Functions
static uint16_t | Endpoint_BytesInEndpoint (uint8_t corenum) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE
| Indicates the number of bytes currently stored in the current endpoint's selected bank.

## Function Documentation

static uint16_t Endpoint_BytesInEndpoint | ( | uint8_t | corenum | ) |
| inline static

Indicates the number of bytes currently stored in the current endpoint's selected bank.

Note
  The return width of this function may differ, depending on the maximum endpoint bank size of the selected LPC model.

Parameters

  corenum | : ID Number of USB Core to be processed.

Returns
  Total number of bytes in the currently selected Endpoint's FIFO buffer

Definition at line 289 of file Endpoint_LPC17xx.h.