Vault 7: Projects

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

Parameters
Parameters Description
uint8_t address Device's address on the bus
uint32_t flags Initialization flags
uint8_t clientDriverID ID to send when issuing a Device Request via
USBHostIssueDeviceRequest() or
USBHostSetDeviceConfiguration().
Return Values
Return Values Description
true Successful
false Not successful
Function
bool (*USB_CLIENT_INIT) ( uint8_t address, uint32_t flags, uint8_t clientDriverID )
1.4.2.1.2.6 USB_TPL Type
File
usb_host.h
Syntax
typedef struct _USB_TPL USB_TPL;
Description
Targeted Peripheral List
This structure is used to define the devices that this host can support. If the host is a USB Embedded Host or Dual Role
Device that does not support OTG, the TPL may contain both specific devices and generic classes. If the host supports
OTG, then the TPL may contain ONLY specific devices.
1.4.2.1.2.7 INIT_CL_SC_P Macro
File
usb_host.h
Syntax
#define INIT_CL_SC_P(c,s,p) {((c)|((s)<<8)|((p)<<16))} // Set class support in the TPL
(non-OTG only).
Description
Set class support in the TPL (non-OTG only).
1.4.2.1.2.8 INIT_VID_PID Macro
File
usb_host.h
Syntax
#define INIT_VID_PID(v,p) {((v)|((p)<<16))} // Set VID/PID support in the TPL.
Description
Set VID/PID support in the TPL.
1.4 Library Interface MLA - USB Library Help Embedded Host API
125

e-Highlighter

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

Un-highlight all Un-highlight selectionu Highlight selectionh