OLE Developer Guide  Latest Git
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
usb_transport.h File Reference

Detailed Description

A USB Transport.

Include dependency graph for usb_transport.h:

Go to the source code of this file.

Functions

void USBTransport_Initialize (TransportRxFunction rx_cb)
 Initialize the USB Transport. More...
 
void USBTransport_Tasks ()
 Perform the periodic USB layer tasks. More...
 
bool USBTransport_SendResponse (uint8_t token, Command command, uint8_t rc, const IOVec *data, unsigned int iov_count)
 Send a response to the Host. More...
 
bool USBTransport_WritePending ()
 Check if there is a write in progress.
 
USB_DEVICE_HANDLE USBTransport_GetHandle ()
 Return the USB Device handle. More...
 
bool USBTransport_IsConfigured ()
 Check if the USB driver is configured. More...
 
void USBTransport_SoftReset ()
 Perform a soft reset. This aborts any outbound (write) transfers.