# 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
…
- 124
- 125
- 126
- 127
- 128
…
- 311
- 312

1.4.2.1.2.9 TPL_ALLOW_HNP Macro
File
usb_host.h
Syntax
#define TPL_ALLOW_HNP 0x01 // Bitmask for Host Negotiation Protocol.
Description
Bitmask for Host Negotiation Protocol.
1.4.2.1.2.10 TPL_CLASS_DRV Macro
File
usb_host.h
Syntax
#define TPL_CLASS_DRV 0x02 // Bitmask for class driver support.
Description
Bitmask for class driver support.
1.4.2.1.2.11 TPL_EP0_ONLY_CUSTOM_DRIVER Macro
File
usb_host.h
Syntax
#define TPL_EP0_ONLY_CUSTOM_DRIVER 0x80 // Bitmask to let a custom
driver gain EP0 only and allow other interfaces to use standard drivers
Description
Bitmask to let a custom driver gain EP0 only and allow other interfaces to use standard drivers
1.4.2.1.2.12 TPL_IGNORE_CLASS Macro
File
usb_host.h
Syntax
#define TPL_IGNORE_CLASS 0x20 // Bitmask for ignoring the class of a
CL/SC/P driver
Description
Bitmask for ignoring the class of a CL/SC/P driver
1.4.2.1.2.13 TPL_IGNORE_PID Macro
File
usb_host.h
Syntax
#define TPL_IGNORE_PID 0x40 // Bitmask for ignoring the PID of a VID/PID
driver
Description
Bitmask for ignoring the PID of a VID/PID driver
1.4 Library Interface MLA - USB Library Help Embedded Host API
126

- 1
- 2
…
- 124
- 125
- 126
- 127
- 128
…
- 311
- 312