# Vault 7: Projects

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

### Protego

# MLA -- USB Library

20 December, 2013

- 1
- 2
…
- 181
- 182
- 183
- 184
- 185
…
- 311
- 312

uint8_t signExtend; extend - sign extend the data.
uint8_t interfaceNum; interfaceNum - informs HID layer about interface number.
Description
HID Data Details
This structure defines the objects used by the application to access required report. Application must use parser interface
functions to fill these details. e.g. USBHostHID_ApiFindValue
1.4.2.3.2.3 HID_DESIGITEM Structure
File
usb_host_hid_parser.h
Syntax
typedef struct _HID_STRINGITEM {
bool isRange;
uint16_t index;
uint16_t minimum;
uint16_t maximum;
} HID_STRINGITEM, HID_DESIGITEM;
Members
Members Description
bool isRange; If range of String Item is valid
uint16_t index; String index for a String descriptor; allows a string to be
associated with a particular item or control
uint16_t minimum; Specifies the first string index when assigning a group of
sequential strings to controls in an array or bitmap
uint16_t maximum; Specifies the last string index when assigning a group of
sequential strings to controls in an array or bitmap
Description
HID String Item Details
This structure contains information about each Report encountered in the report descriptor.
1.4.2.3.2.4 HID_GLOBALS Structure
File
usb_host_hid_parser.h
Syntax
typedef struct _HID_GLOBALS {
uint16_t usagePage;
int32_t logicalMinimum;
int32_t logicalMaximum;
int32_t physicalMinimum;
int32_t physicalMaximum;
int32_t unitExponent;
int32_t unit;
uint16_t reportIndex;
uint8_t reportID;
uint8_t reportsize;
uint8_t reportCount;
} HID_GLOBALS;
Members
Members Description
uint16_t usagePage; Specifies current Usage Page
1.4 Library Interface MLA - USB Library Help Embedded Host API
183

- 1
- 2
…
- 181
- 182
- 183
- 184
- 185
…
- 311
- 312