# 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
…
- 34
- 35
- 36
- 37
- 38
…
- 311
- 312

1.4 Library Interface
This section describes the Application Programming Interface (API) functions of the USB Library.
Refer to each section for a detailed description.
1.4.1 Device/Peripheral
Modules
Name Description
Device Stack
Audio Function Driver
CDC Function Driver
HID Function Driver
MSD Function Driver
Vendor Class (Generic) Function Driver
Description
1.4.1.1 Device Stack
Files
Name Description
usb_device.h This is file usb_device.h.
Description
1.4.1.1.1 Functions
Functions
Name Description
USB_APPLICATION_EVENT_HANDLER This function is called whenever the USB stack wants to notify the
user of an event.
USBCancelIO This function cancels the transfers pending on the specified
endpoint. This function can only be used after a SETUP packet is
received and before that setup packet is handled. This is the time
period in which the EVENT_EP0_REQUEST is thrown, before the
event handler function returns to the stack.
1.4 Library Interface MLA - USB Library Help Device/Peripheral
36

- 1
- 2
…
- 34
- 35
- 36
- 37
- 38
…
- 311
- 312