Vault 7: Projects
This publication series is about specific projects related to the Vault 7 main publication.
1.4.2.2.2.8 USB_CDC_LINE_CODING Union
File
usb_host_cdc.h
Syntax
typedef union _USB_CDC_LINE_CODING {
struct {
uint8_t _uint8_t[USB_CDC_LINE_CODING_LENGTH];
}
struct {
uint32_t dwDTERate;
uint8_t bCharFormat;
uint8_t bParityType;
uint8_t bDataBits;
}
} USB_CDC_LINE_CODING;
Members
Members Description
uint32_t dwDTERate; Data terminal rate, in bits per second.
uint8_t bCharFormat; Stop bits 0:1 Stop bit, 1:1.5 Stop bits, 2:2 Stop bits
uint8_t bParityType; Parity 0:None, 1:Odd, 2:Even, 3:Mark, 4:Space
uint8_t bDataBits; Data bits (5, 6, 7, 8 or 16)
Description
This is type USB_CDC_LINE_CODING.
1.4.2.2.2.9 USB_CDC_UNION_FN_DSC Structure
File
usb_host_cdc.h
Syntax
typedef struct _USB_CDC_UNION_FN_DSC {
uint8_t bFNLength;
uint8_t bDscType;
uint8_t bDscSubType;
uint8_t bMasterIntf;
uint8_t bSaveIntf0;
} USB_CDC_UNION_FN_DSC;
Members
Members Description
uint8_t bFNLength; Size of this functional descriptor, in uint8_ts.
uint8_t bDscType; CS_INTERFACE
uint8_t bDscSubType; Union Descriptor Functional Descriptor subtype as defined in
[USBCDC1.2].
uint8_t bMasterIntf; Interface number of the control (Communications Class)
interface
uint8_t bSaveIntf0; Interface number of the subordinate (Data Class) interface
Description
Union Functional Descriptor
1.4 Library Interface MLA - USB Library Help Embedded Host API
148
Protego_Release_01_05-Related-OEM-Documentation-MLA_v2013_12_20-help_mla_usb.pdf