Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

Types
Name Description
USB_DEVICE_STACK_EVENTS USB device stack events description here - DWF
USB_DEVICE_STATE USB Device States as returned by USBGetDeviceState(). Only the
defintions for these states should be used. The actual value for each
state should not be relied upon as constant and may change based on
the implementation.
Description
1.4.1.1.2.1 USB_DEVICE_STACK_EVENTS Type
File
usb_device.h
Syntax
typedef enum USB_DEVICE_STACK_EVENTS@1 USB_DEVICE_STACK_EVENTS;
Description
USB device stack events description here - DWF
1.4.1.1.2.2 USB_DEVICE_STATE Type
File
usb_device.h
Syntax
typedef enum USB_DEVICE_STATE@1 USB_DEVICE_STATE;
Description
USB Device States as returned by USBGetDeviceState(). Only the defintions for these states should be used. The actual
value for each state should not be relied upon as constant and may change based on the implementation.
1.4.1.1.2.3 DESC_CONFIG_uint32_t Macro
File
usb_device.h
Syntax
#define DESC_CONFIG_uint32_t(a) (a&0xFF),((a>>8)&0xFF),((a>>16)&0xFF),((a>>24)&0xFF)
Description
The DESC_CONFIG_uint32_t() macro is implemented for convinence. Since the configuration descriptor array is a uint8_t
array, each entry needs to be a uint8_t in LSB format. The DESC_CONFIG_uint32_t() macro breaks up a uint32_t into the
appropriate uint8_t entries in LSB.
1.4.1.1.2.4 DESC_CONFIG_uint8_t Macro
File
usb_device.h
Syntax
#define DESC_CONFIG_uint8_t(a) (a)
1.4 Library Interface MLA - USB Library Help Device/Peripheral
64

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh