LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Endpoint_LPC17xx.h File Reference

Go to the source code of this file.

Functions

bool Endpoint_ConfigureEndpoint (const uint8_t Number, const uint8_t Type, const uint8_t Direction, const uint16_t Size, const uint8_t Banks)
 
static void Endpoint_ResetEndpoint (const uint8_t EndpointNumber) ATTR_ALWAYS_INLINE
 
static void Endpoint_EnableEndpoint (void) ATTR_ALWAYS_INLINE
 
static void Endpoint_DisableEndpoint (void) ATTR_ALWAYS_INLINE
 
static bool Endpoint_IsEnabled (void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE
 
static uint8_t Endpoint_GetBusyBanks (void) ATTR_ALWAYS_INLINE ATTR_WARN_UNUSED_RESULT
 
static void Endpoint_AbortPendingIN (void)
 
static bool Endpoint_IsConfigured (void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE
 
static uint8_t Endpoint_GetEndpointInterrupts (void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE
 
static bool Endpoint_HasEndpointInterrupted (const uint8_t EndpointNumber) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE
 
static uint16_t Endpoint_BytesInEndpoint (void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE
 
static bool Endpoint_IsINReady (void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE
 
static bool Endpoint_IsOUTReceived (void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE
 
static bool Endpoint_IsSETUPReceived (void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE
 
static void Endpoint_ClearSETUP (void) ATTR_ALWAYS_INLINE
 
static void Endpoint_ClearIN (void) ATTR_ALWAYS_INLINE
 
static void Endpoint_ClearOUT (void) ATTR_ALWAYS_INLINE
 
void Endpoint_StallTransaction (void)
 
static void Endpoint_ClearStall (void) ATTR_ALWAYS_INLINE
 
static bool Endpoint_IsStalled (void) ATTR_WARN_UNUSED_RESULT ATTR_ALWAYS_INLINE
 
static void Endpoint_ResetDataToggle (void) ATTR_ALWAYS_INLINE
 
void Endpoint_ClearStatusStage (void)
 
uint8_t Endpoint_WaitUntilReady (void)
 

Variables

uint8_t USB_Device_ControlEndpointSize