# 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
…
- 64
- 65
- 66
- 67
- 68
…
- 311
- 312

1.4.1.1.2.9 USB_EP0_NO_OPTIONS Macro
File
usb_device.h
Syntax
#define USB_EP0_NO_OPTIONS 0x00 //no options set
Description
no options set
1.4.1.1.2.10 USB_EP0_RAM Macro
File
usb_device.h
Syntax
#define USB_EP0_RAM 0x01 //Data comes from const
Description
Data comes from const
1.4.1.1.2.11 USB_EP0_ROM Macro
File
usb_device.h
Syntax
#define USB_EP0_ROM 0x00 //Data comes from RAM
Description
Data comes from RAM
1.4.1.1.2.12 USB_HANDLE Macro
File
usb_device.h
Syntax
#define USB_HANDLE void*
Description
USB_HANDLE is a pointer to an entry in the BDT. This pointer can be used to read the length of the last transfer, the status
of the last transfer, and various other information. Insure to initialize USB_HANDLE objects to NULL so that they are in a
known state during their first usage.
1.4.1.1.3 usb_device.h
Functions
Name Description
USB_APPLICATION_EVENT_HANDLER This function is called whenever the USB stack wants to notify the
user of an event.
1.4 Library Interface MLA - USB Library Help Device/Peripheral
66

- 1
- 2
…
- 64
- 65
- 66
- 67
- 68
…
- 311
- 312