Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
Typically, only host client drivers will interact with this layer. Applications can be configured to receive some events from this
layer, such as EVENT_REQUEST_POWER and EVENT_RELEASE_POWER.
See AN1140 USB Embedded Host Stack for more information about this layer. See AN1141 USB Embedded Host Stack
Programmer's Guide for more information about creating a client driver that uses this layer.
1.4.2.1.1 Functions
Functions
Name Description
USB_HOST_APP_DATA_EVENT_HANDLER This is a typedef to use when defining the application level data
events handler.
USB_HOST_APP_EVENT_HANDLER This is a typedef to use when defining the application level
events handler.
USB_HostInterruptHandler This function handles the interrupts when the USB module is
running in host mode.
USBHostClearEndpointErrors This function clears an endpoint's internal error condition.
USBHostDeviceSpecificClientDriver This function indicates if the specified device has explicit client
driver support specified in the TPL.
USBHostDeviceStatus This function returns the current status of a device.
USBHostInit This function initializes the variables of the USB host stack.
USBHostIsochronousBuffersCreate This function initializes the isochronous data buffer information
and allocates memory for each buffer. This function will not
allocate memory if the buffer pointer is not NULL.
USBHostIsochronousBuffersDestroy This function releases all of the memory allocated for the
isochronous data buffers. It also resets all other information
about the buffers.
USBHostIsochronousBuffersReset This function resets all the isochronous data buffers. It does not
do anything with the space allocated for the buffers.
USBHostIssueDeviceRequest This function sends a standard device request to the attached
device.
USBHostRead This function initiates a read from the attached device.
USBHostResetDevice This function resets an attached device.
USBHostResumeDevice This function issues a RESUME to the attached device.
USBHostSetDeviceConfiguration This function changes the device's configuration.
USBHostSetNAKTimeout This function specifies NAK timeout capability.
USBHostShutdown This function turns off the USB module and frees all
unnecessary memory. This routine can be called by the
application layer to shut down all USB activity, which effectively
detaches all devices. The event EVENT_DETACH will be sent
to the client drivers for the attached device, and the event
EVENT_VBUS_RELEASE_POWER will be sent to the
application layer.
USBHostSuspendDevice This function suspends a device.
USBHostTasks This function executes the host tasks for USB host operation.
USBHostTerminateTransfer This function terminates the current transfer for the given
endpoint.
USBHostTransferIsComplete This function initiates whether or not the last endpoint
transaction is complete.
USBHostVbusEvent This function handles Vbus events that are detected by the
application.
USBHostWrite This function initiates a write to the attached device.
1.4 Library Interface MLA - USB Library Help Embedded Host API
100
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_usb.pdf