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

definitions:
• USB_DISABLE_SET_CONFIGURATION_HANDLER
• USB_DISABLE_SUSPEND_HANDLER
• USB_DISABLE_WAKEUP_FROM_SUSPEND_HANDLER
• USB_DISABLE_SOF_HANDLER
• USB_DISABLE_ERROR_HANDLER
• USB_DISABLE_NONSTANDARD_EP0_REQUEST_HANDLER
• USB_DISABLE_SET_DESCRIPTOR_HANDLER
• USB_DISABLE_TRANSFER_COMPLETE_HANDLER
• Defining any of these definitions in the usb_config.h file will disable the callback from the stack during these events.
Please note that some of these events are required to be USB compliant. For example all USB devices must go into
suspend mode when requested. The suspend handler is how the stack notifies the user that the bus has requested the
device to go into suspend mode.
• Also note that some device classes or demos may require certain handlers to be available in order to operate properly.
For example, the audio class demo uses the start of frames provided by the SOF handler to properly synchronize the
audio data playback.
1.3 Release Notes MLA - USB Library Help Library Migration
35

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