# 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
…
- 148
- 149
- 150
- 151
- 152
…
- 311
- 312

1.4.2.2.2.15 EVENT_CDC_DATA_WRITE_DONE Macro
File
usb_host_cdc.h
Syntax
#define EVENT_CDC_DATA_WRITE_DONE EVENT_CDC_BASE + EVENT_CDC_OFFSET + 5 // A CDC Data
Write transfer has completed
Description
A CDC Data Write transfer has completed
1.4.2.2.2.16 EVENT_CDC_NAK_TIMEOUT Macro
File
usb_host_cdc.h
Syntax
#define EVENT_CDC_NAK_TIMEOUT EVENT_CDC_BASE + EVENT_CDC_OFFSET + 7 // CDC device NAK
timeout has occurred
Description
CDC device NAK timeout has occurred
1.4.2.2.2.17 EVENT_CDC_NONE Macro
File
usb_host_cdc.h
Syntax
#define EVENT_CDC_NONE EVENT_CDC_BASE + EVENT_CDC_OFFSET + 0 // No event occured (NULL
event)
Description
No event occured (NULL event)
1.4.2.2.2.18 EVENT_CDC_OFFSET Macro
File
usb_host_cdc.h
Syntax
#define EVENT_CDC_OFFSET 0
Description
If the application has not defined an offset for CDC events, set it to 0.
1.4.2.2.2.19 EVENT_CDC_RESET Macro
File
usb_host_cdc.h
Syntax
#define EVENT_CDC_RESET EVENT_CDC_BASE + EVENT_CDC_OFFSET + 6 // CDC reset complete
Description
CDC reset complete
1.4 Library Interface MLA - USB Library Help Embedded Host API
150

- 1
- 2
…
- 148
- 149
- 150
- 151
- 152
…
- 311
- 312