# 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
…
- 175
- 176
- 177
- 178
- 179
…
- 311
- 312

Remarks
None
Preconditions
None
Function
uint8_t* USBHostHID_GetCurrentReportInfo(void)
1.4.2.3.1.22 USBHostHID_GetItemListPointers Macro
File
usb_host_hid.h
Syntax
#define USBHostHID_GetItemListPointers (&itemListPtrs)
Returns
uint8_t * - Pointer to list of item pointers structure.
Description
This function returns a pointer to list of item pointers stored in a structure.
Remarks
None
Preconditions
None
Function
uint8_t* USBHostHID_GetItemListPointers()
1.4.2.3.1.23 USBHostHIDRead Macro
This function starts a Get report transfer reuest from the device, utilizing the function USBHostHIDTransfer();
File
usb_host_hid.h
Syntax
#define USBHostHIDRead( deviceAddress,reportid,interface,size,data) \
USBHostHIDTransfer( deviceAddress,1,interface,reportid,size,data)
Remarks
None
Preconditions
None
Parameters
Parameters Description
uint8_t deviceAddress Device address
uint8_t reportid Report ID of the requested report
uint8_t interface Interface number
uint8_t size Byte size of the data buffer
uint8_t *data Pointer to the data buffer
1.4 Library Interface MLA - USB Library Help Embedded Host API
177

- 1
- 2
…
- 175
- 176
- 177
- 178
- 179
…
- 311
- 312