![]() |
LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
|
#include "../../Core/StdDescriptors.h"
Go to the source code of this file.
Macros | |
#define | CDC_FUNCTIONAL_DESCRIPTOR(DataSize) |
Virtual Control Line Masks | |
#define | CDC_CONTROL_LINE_OUT_DTR (1 << 0) |
#define | CDC_CONTROL_LINE_OUT_RTS (1 << 1) |
#define | CDC_CONTROL_LINE_IN_DCD (1 << 0) |
#define | CDC_CONTROL_LINE_IN_DSR (1 << 1) |
#define | CDC_CONTROL_LINE_IN_BREAK (1 << 2) |
#define | CDC_CONTROL_LINE_IN_RING (1 << 3) |
#define | CDC_CONTROL_LINE_IN_FRAMEERROR (1 << 4) |
#define | CDC_CONTROL_LINE_IN_PARITYERROR (1 << 5) |
#define | CDC_CONTROL_LINE_IN_OVERRUNERROR (1 << 6) |
Typedefs | |
struct { | |
USB_Descriptor_Header_t Header | |
uint8_t Subtype | |
uint16_t CDCSpecification | |
} | USB_CDC_Descriptor_FunctionalHeader_t |
struct { | |
uint8_t bFunctionLength | |
uint8_t bDescriptorType | |
uint8_t bDescriptorSubType | |
uint16_t bcdCDC | |
} | USB_CDC_StdDescriptor_FunctionalHeader_t |
struct { | |
USB_Descriptor_Header_t Header | |
uint8_t Subtype | |
uint8_t Capabilities | |
} | USB_CDC_Descriptor_FunctionalACM_t |
struct { | |
uint8_t bFunctionLength | |
uint8_t bDescriptorType | |
uint8_t bDescriptorSubType | |
uint8_t bmCapabilities | |
} | USB_CDC_StdDescriptor_FunctionalACM_t |
struct { | |
USB_Descriptor_Header_t Header | |
uint8_t Subtype | |
uint8_t MasterInterfaceNumber | |
uint8_t SlaveInterfaceNumber | |
} | USB_CDC_Descriptor_FunctionalUnion_t |
struct { | |
uint8_t bFunctionLength | |
uint8_t bDescriptorType | |
uint8_t bDescriptorSubType | |
uint8_t bMasterInterface | |
uint8_t bSlaveInterface0 | |
} | USB_CDC_StdDescriptor_FunctionalUnion_t |
struct { | |
uint32_t BaudRateBPS | |
uint8_t CharFormat | |
uint8_t ParityType | |
uint8_t DataBits | |
} | CDC_LineEncoding_t |
uint32_t BaudRateBPS |
Baud rate of the virtual serial port, in bits per second.
Definition at line 361 of file CDCClassCommon.h.
uint16_t bcdCDC |
Version number of the CDC specification implemented by the device, encoded in BCD format.
Definition at line 261 of file CDCClassCommon.h.
uint8_t bDescriptorSubType |
Sub type value used to distinguish between CDC class-specific descriptors, must be CDC_DSUBTYPE_CSInterface_Header.
Sub type value used to distinguish between CDC class-specific descriptors, must be CDC_DSUBTYPE_CSInterface_ACM.
Sub type value used to distinguish between CDC class-specific descriptors, must be CDC_DSUBTYPE_CSInterface_Union.
Definition at line 258 of file CDCClassCommon.h.
uint8_t bDescriptorType |
Type of the descriptor, either a value in USB_DescriptorTypes_t or a value given by the specific class.
Definition at line 255 of file CDCClassCommon.h.
uint8_t bFunctionLength |
Size of the descriptor, in bytes.
Definition at line 254 of file CDCClassCommon.h.
uint8_t bMasterInterface |
Interface number of the CDC Control interface.
Definition at line 348 of file CDCClassCommon.h.
uint8_t bmCapabilities |
Capabilities of the ACM interface, given as a bit mask. For most devices, this should be set to a fixed value of 0x06 - for other capabilities, refer to the CDC ACM specification.
Definition at line 304 of file CDCClassCommon.h.
uint8_t bSlaveInterface0 |
Interface number of the CDC Data interface.
Definition at line 349 of file CDCClassCommon.h.
uint8_t Capabilities |
Capabilities of the ACM interface, given as a bit mask. For most devices, this should be set to a fixed value of 0x06 - for other capabilities, refer to the CDC ACM specification.
Definition at line 279 of file CDCClassCommon.h.
uint16_t CDCSpecification |
Version number of the CDC specification implemented by the device, encoded in BCD format.
Definition at line 236 of file CDCClassCommon.h.
uint8_t CharFormat |
Character format of the virtual serial port, a value from the CDC_LineEncodingFormats_t enum.
Definition at line 362 of file CDCClassCommon.h.
uint8_t DataBits |
Bits of data per character of the virtual serial port.
Definition at line 368 of file CDCClassCommon.h.
USB_Descriptor_Header_t Header |
Regular descriptor header containing the descriptor's type and length.
Definition at line 232 of file CDCClassCommon.h.
uint8_t MasterInterfaceNumber |
Interface number of the CDC Control interface.
Definition at line 325 of file CDCClassCommon.h.
uint8_t ParityType |
Parity setting of the virtual serial port, a value from the CDC_LineEncodingParity_t enum.
Definition at line 365 of file CDCClassCommon.h.
uint8_t SlaveInterfaceNumber |
Interface number of the CDC Data interface.
Definition at line 326 of file CDCClassCommon.h.
uint8_t Subtype |
Sub type value used to distinguish between CDC class-specific descriptors, must be CDC_DSUBTYPE_CSInterface_Header.
Sub type value used to distinguish between CDC class-specific descriptors, must be CDC_DSUBTYPE_CSInterface_ACM.
Sub type value used to distinguish between CDC class-specific descriptors, must be CDC_DSUBTYPE_CSInterface_Union.
Definition at line 233 of file CDCClassCommon.h.