Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
int32_t logicalMinimum; This is the minimum value that a variable or array item will
report
int32_t logicalMaximum; This is the maximum value that a variable or array item will
report
int32_t physicalMinimum; Minimum value for the physical extent of a variable item
int32_t physicalMaximum; Maximum value for the physical extent of a variable item
int32_t unitExponent; Value of the unit exponent in base 10
int32_t unit; Unit values
uint16_t reportIndex; Conter to keep track of report being processed in the parser
uint8_t reportID; Report ID. All the reports are preceded by a single byte
report ID
uint8_t reportsize; Size of current report in bytes
uint8_t reportCount; This field determines number of fields in the report
Description
HID Global Item Information
This structure contains information about each Global Item of the report descriptor.
1.4.2.3.2.5 HID_ITEM_INFO Structure
File
usb_host_hid_parser.h
Syntax
typedef struct _HID_ITEM_INFO {
union {
struct {
uint8_t ItemSize : 2;
uint8_t ItemType : 2;
uint8_t ItemTag : 4;
}
uint8_t val;
} ItemDetails;
union {
int32_t sItemData;
uint32_t uItemData;
uint8_t bItemData[4];
} Data;
} HID_ITEM_INFO;
Members
Members Description
uint8_t ItemSize : 2; Numeric expression specifying size of data
uint8_t ItemType : 2; This field identifies type of item(Main, Global or Local)
uint8_t ItemTag : 4; This field specifies the function of the item
uint8_t val; to access the data in byte format
int32_t sItemData; Item Data is stored in signed format
uint32_t uItemData; Item Data is stored in unsigned format
Description
HID Item Information
This structure contains information about each Item of the report descriptor.
1.4 Library Interface MLA - USB Library Help Embedded Host API
184
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_usb.pdf