Vault 7: Projects

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

transfers to efficiently transfer large amounts of data. Bulk transfers may utilize all remaining bandwidth on the bus after all of
the Control, Interrupt, and Isochronous transfers for the frame have completed. The exact amount of time required for a bulk
transfer will depend on the amount of other traffic that is on the bus. Therefore, Bulk transfers should be used only for
non-time critical operations.
This implementation of the Mass Storage Class provides support for the Bulk Only Transport.
See AN1142 - USB Mass Storage Class on an Embedded Host for more information about the Mass Storage Class and this
client driver.
1.4.2.4.1 Functions
Functions
Name Description
USBHostMSDDeviceStatus This function determines the status of a mass storage device.
USBHostMSDEventHandler This function is the event handler for this client driver.
USBHostMSDInitialize This function is the initialization routine for this client driver.
USBHostMSDResetDevice This function starts a bulk-only mass storage reset.
USBHostMSDTasks This function performs the maintenance tasks required by the mass
storage class.
USBHostMSDTerminateTransfer This function terminates a mass storage transfer.
USBHostMSDTransfer This function starts a mass storage transfer.
USBHostMSDTransferIsComplete This function indicates whether or not the last transfer is complete.
Macros
Name Description
USBHostMSDRead This function starts a mass storage read, utilizing the function
USBHostMSDTransfer();
USBHostMSDWrite This function starts a mass storage write, utilizing the function
USBHostMSDTransfer();
Module
Mass Storage Client Driver
Description
1.4.2.4.1.1 USBHostMSDDeviceStatus Function
File
usb_host_msd.h
Syntax
uint8_t USBHostMSDDeviceStatus(uint8_t deviceAddress);
Description
This function determines the status of a mass storage device.
Remarks
None
Preconditions
None
1.4 Library Interface MLA - USB Library Help Embedded Host API
203

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh