# 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
…
- 211
- 212
- 213
- 214
- 215
…
- 311
- 312

1.4.2.4.2.10 EVENT_MSD_MAX_LUN Macro
File
usb_host_msd.h
Syntax
#define EVENT_MSD_MAX_LUN EVENT_MSD_BASE + EVENT_MSD_OFFSET + 3 // Set maximum LUN for
the device
Description
Set maximum LUN for the device
1.4.2.4.2.11 EVENT_MSD_NONE Macro
File
usb_host_msd.h
Syntax
#define EVENT_MSD_NONE EVENT_MSD_BASE + EVENT_MSD_OFFSET + 0 // No event occured (NULL
event)
Description
No event occured (NULL event)
1.4.2.4.2.12 EVENT_MSD_OFFSET Macro
File
usb_host_msd.h
Syntax
#define EVENT_MSD_OFFSET 0
Description
If the application has not defined an offset for MSD events, set it to 0.
1.4.2.4.2.13 EVENT_MSD_RESET Macro
File
usb_host_msd.h
Syntax
#define EVENT_MSD_RESET EVENT_MSD_BASE + EVENT_MSD_OFFSET + 2 // MSD reset complete
Description
MSD reset complete
1.4.2.4.2.14 EVENT_MSD_TRANSFER Macro
File
usb_host_msd.h
Syntax
#define EVENT_MSD_TRANSFER EVENT_MSD_BASE + EVENT_MSD_OFFSET + 1 // A MSD transfer has
completed
Description
A MSD transfer has completed
1.4 Library Interface MLA - USB Library Help Embedded Host API
213

- 1
- 2
…
- 211
- 212
- 213
- 214
- 215
…
- 311
- 312