24 #ifndef __USBDBULK_H__ 25 #define __USBDBULK_H__ 157 #define BULKINTERFACE_SIZE (23) 167 #define COMPOSITE_DBULK_SIZE (BULKINTERFACE_SIZE) 267 uint32_t ui32Length,
bool bLast);
269 uint32_t ui32Length,
bool bLast);
299 #endif // __USBDBULK_H__ void USBDBulkPowerStatusSet(void *pvBulkInstance, uint8_t ui8Power)
Definition: usbdbulk.c:1593
const tUSBCallback pfnRxCallback
Definition: usbdbulk.h:203
const uint16_t ui16MaxPowermA
The maximum power consumption of the device, expressed in milliamps.
Definition: usbdbulk.h:190
uint8_t ui8Interface
Definition: usbdbulk.h:148
tBulkInstance sPrivateData
Definition: usbdbulk.h:250
volatile tBulkState iBulkRxState
Definition: usbdbulk.h:112
volatile bool bConnected
Definition: usbdbulk.h:133
void USBDBulkTerm(void *pvBulkDevice)
Definition: usbdbulk.c:1147
tBulkState
Definition: usbdbulk.h:63
Definition: usbdbulk.h:97
Definition: usbdbulk.h:78
Definition: usbdbulk.h:83
void * USBDBulkInit(uint32_t ui32Index, tUSBDBulkDevice *psBulkDevice)
Definition: usbdbulk.c:962
Definition: usbdbulk.h:175
uint8_t ui8OUTEndpoint
Definition: usbdbulk.h:143
Definition: usbdevice.h:135
tDeviceInfo sDevInfo
Definition: usbdbulk.h:107
uint32_t USBDBulkTxPacketAvailable(void *pvBulkDevice)
Definition: usbdbulk.c:1489
uint32_t USBDBulkPacketRead(void *pvBulkDevice, uint8_t *pi8Data, uint32_t ui32Length, bool bLast)
Definition: usbdbulk.c:1393
void * pvTxCBData
Definition: usbdbulk.h:224
const uint8_t ui8PwrAttributes
Definition: usbdbulk.h:197
uint8_t ui8INEndpoint
Definition: usbdbulk.h:138
uint32_t USBDBulkPacketWrite(void *pvBulkDevice, uint8_t *pi8Data, uint32_t ui32Length, bool bLast)
Definition: usbdbulk.c:1290
volatile uint16_t ui16DeferredOpFlags
Definition: usbdbulk.h:123
const uint16_t ui16PID
The product ID that this device is to present in the device descriptor.
Definition: usbdbulk.h:185
uint16_t ui16LastTxSize
Definition: usbdbulk.h:128
bool USBDBulkRemoteWakeupRequest(void *pvBulkDevice)
Definition: usbdbulk.c:1624
const uint8_t *const * ppui8StringDescriptors
Definition: usbdbulk.h:238
void * pvRxCBData
Definition: usbdbulk.h:210
Definition: usbdevice.h:66
void * USBDBulkCompositeInit(uint32_t ui32Index, tUSBDBulkDevice *psBulkDevice, tCompositeEntry *psCompEntry)
Definition: usbdbulk.c:1029
uint32_t USBDBulkRxPacketAvailable(void *pvBulkDevice)
Definition: usbdbulk.c:1537
uint32_t(* tUSBCallback)(void *pvCBData, uint32_t ui32Event, uint32_t ui32MsgParam, void *pvMsgData)
Definition: usblib.h:1220
const uint16_t ui16VID
The vendor ID that this device is to present in the device descriptor.
Definition: usbdbulk.h:180
void * USBDBulkSetRxCBData(void *pvBulkDevice, void *pvCBData)
Definition: usbdbulk.c:1192
const tUSBCallback pfnTxCallback
Definition: usbdbulk.h:217
Definition: usbdbulk.h:73
volatile tBulkState iBulkTxState
Definition: usbdbulk.h:117
Definition: usbdbulk.h:68
const uint32_t ui32NumStringDescriptors
Definition: usbdbulk.h:244
uint32_t ui32USBBase
Definition: usbdbulk.h:102
void * USBDBulkSetTxCBData(void *pvBulkDevice, void *pvCBData)
Definition: usbdbulk.c:1234