Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

Preconditions
None
Parameters
Parameters Description
uint8_t deviceAddress Device address
uint8_t endpoint Endpoint number
ISOCHRONOUS_DATA *pIsochronousData Pointer to an ISOCHRONOUS_DATA structure, containing
information for the application and the host driver for the
isochronous transfer.
Return Values
Return Values Description
USB_SUCCESS Read started successfully.
USB_UNKNOWN_DEVICE Device with the specified address not found.
USB_INVALID_STATE We are not in a normal running state.
USB_ENDPOINT_ILLEGAL_TYPE Must use USBHostControlRead to read from a control
endpoint.
USB_ENDPOINT_ILLEGAL_DIRECTION Must read from an IN endpoint.
USB_ENDPOINT_STALLED Endpoint is stalled. Must be cleared by the application.
USB_ENDPOINT_ERROR Endpoint has too many errors. Must be cleared by the
application.
USB_ENDPOINT_BUSY A Read is already in progress.
USB_ENDPOINT_NOT_FOUND Invalid endpoint.
Function
uint8_t USBHostReadIsochronous( uint8_t deviceAddress, uint8_t endpoint,
ISOCHRONOUS_DATA *pIsochronousData )
1.4.2.1.1.28 USBHostWriteIsochronous Macro
This function initiates a write to an isochronous endpoint on the attached device.
File
usb_host.h
Syntax
#define USBHostWriteIsochronous( a, e, p ) USBHostWrite( a, e, (uint8_t *)p, (uint32_t)0 );
Description
This function initiates a write to an isochronous endpoint on the attached device. If the endpoint is not isochronous, use
USBHostWrite().
Once started, an isochronous transfer will continue with no upper layer intervention until USBHostTerminateTransfer() is
called.
Remarks
None
Preconditions
None
Parameters
Parameters Description
uint8_t deviceAddress Device address
1.4 Library Interface MLA - USB Library Help Embedded Host API
120

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh