#include <stdbool.h>
#include <stdint.h>
#include "ti/devices/msp432e4/driverlib/driverlib.h"
#include "ti/usblib/msp432e4/usblib.h"
#include "ti/usblib/msp432e4/usblibpriv.h"
#include "usbdevice.h"
#include "usbdbulk.h"
#include "usbdcomp.h"
Macros | |
#define | USB_RX_ERROR_FLAGS |
#define | BULK_DO_PACKET_RX 5 |
#define | DATA_IN_ENDPOINT USB_EP_1 |
#define | DATA_OUT_ENDPOINT USB_EP_1 |
#define | DATA_IN_EP_MAX_SIZE USBFIFOSizeToBytes(USB_FIFO_SZ_64) |
#define | DATA_OUT_EP_MAX_SIZE USBFIFOSizeToBytes(USB_FIFO_SZ_64) |
#define | DATA_IN_EP_MAX_SIZE_HS USBFIFOSizeToBytes(USB_FIFO_SZ_512) |
#define | DATA_OUT_EP_MAX_SIZE_HS USBFIFOSizeToBytes(USB_FIFO_SZ_512) |
#define | NUM_BULK_SECTIONS |
Functions | |
void * | USBDBulkInit (uint32_t ui32Index, tUSBDBulkDevice *psBulkDevice) |
void * | USBDBulkCompositeInit (uint32_t ui32Index, tUSBDBulkDevice *psBulkDevice, tCompositeEntry *psCompEntry) |
void | USBDBulkTerm (void *pvBulkDevice) |
void * | USBDBulkSetRxCBData (void *pvBulkDevice, void *pvCBData) |
void * | USBDBulkSetTxCBData (void *pvBulkDevice, void *pvCBData) |
uint32_t | USBDBulkPacketWrite (void *pvBulkDevice, uint8_t *pi8Data, uint32_t ui32Length, bool bLast) |
uint32_t | USBDBulkPacketRead (void *pvBulkDevice, uint8_t *pi8Data, uint32_t ui32Length, bool bLast) |
uint32_t | USBDBulkTxPacketAvailable (void *pvBulkDevice) |
uint32_t | USBDBulkRxPacketAvailable (void *pvBulkDevice) |
void | USBDBulkPowerStatusSet (void *pvBulkDevice, uint8_t ui8Power) |
bool | USBDBulkRemoteWakeupRequest (void *pvBulkDevice) |
Variables | |
uint8_t | g_pui8BulkDeviceDescriptor [] |
uint8_t | g_pui8BulkDescriptor [] |
const uint8_t | g_pui8BulkInterface [BULKINTERFACE_SIZE] |
const uint8_t | g_pui8BulkInterfaceHS [BULKINTERFACE_SIZE] |
const tConfigSection | g_sBulkConfigSection |
const tConfigSection | g_sBulkInterfaceSection |
const tConfigSection | g_sBulkInterfaceSectionHS |
const tConfigSection * | g_psBulkSections [] |
const tConfigSection * | g_psBulkSectionsHS [] |
const tConfigHeader | g_sBulkConfigHeader |
const tConfigHeader | g_sBulkConfigHeaderHS |
const tConfigHeader *const | g_ppBulkConfigDescriptors [] |
const tConfigHeader *const | g_ppBulkConfigDescriptorsHS [] |
const tCustomHandlers | g_sBulkHandlers |