Data Structures | Macros | Typedefs | Variables
Usblib_buffer_api

Data Structures

struct  tUSBBuffer
 
struct  tUSBRingBufObject
 

Macros

#define USB_BUFFER_WORKSPACE_SIZE   16
 

Typedefs

typedef uint32_t(* tUSBPacketTransfer) (struct usbGadgetObj *pUsbGadgetObj, void *pvHandle, uint8_t *pcData, uint32_t ulLength, uint32_t bLast)
 
typedef uint32_t(* tUSBPacketAvailable) (void *pvHandle)
 

Variables

tUSBInstanceObject g_USBInstance []
 

Detailed Description

Macro Definition Documentation

#define USB_BUFFER_WORKSPACE_SIZE   16

The number of bytes of workspace that each USB buffer object requires. This workspace memory is provided to the buffer on USBBufferInit() in the pvWorkspace field of the tUSBBuffer structure.

Typedef Documentation

typedef uint32_t(* tUSBPacketAvailable) (void *pvHandle)

A function pointer type which describes either a class driver transmit or receive packet available function (both have the same prototype) to the USB buffer object.

typedef uint32_t(* tUSBPacketTransfer) (struct usbGadgetObj *pUsbGadgetObj, void *pvHandle, uint8_t *pcData, uint32_t ulLength, uint32_t bLast)

A function pointer type which describes either a class driver packet read or packet write function (both have the same prototype) to the USB buffer object.

Variable Documentation

tUSBInstanceObject g_USBInstance[]

============================================================================


Copyright 2016, Texas Instruments Incorporated