USBD_CDC_CfgDesc variable
Syntax
static uint8_t USBD_CDC_CfgDesc[USB_CDC_CONFIG_DESC_SIZ] __ALIGN_END =
{
0x09,
USB_DESC_TYPE_CONFIGURATION,
USB_CDC_CONFIG_DESC_SIZ,
0x00,
0x02,
0x01,
0x00,
#if (USBD_SELF_POWERED == 1U)
0xC0,
#else
0x80,
#endif
USBD_MAX_POWER,
0x09,
USB_DESC_TYPE_INTERFACE,
0x00,
0x00,
0x01,
0x02,
0x02,
0x01,
0x00,
0x05,
0x24,
0x00,
0x10,
0x01,
0x05,
0x24,
0x01,
0x00,
0x01,
0x04,
0x24,
0x02,
0x02,
0x05,
0x24,
0x06,
0x00,
0x01,
0x07,
USB_DESC_TYPE_ENDPOINT,
CDC_CMD_EP,
0x03,
LOBYTE(CDC_CMD_PACKET_SIZE),
HIBYTE(CDC_CMD_PACKET_SIZE),
CDC_FS_BINTERVAL,
0x09,
USB_DESC_TYPE_INTERFACE,
0x01,
0x00,
0x02,
0x0A,
0x00,
0x00,
0x00,
0x07,
USB_DESC_TYPE_ENDPOINT,
CDC_OUT_EP,
0x02,
LOBYTE(CDC_DATA_FS_MAX_PACKET_SIZE),
HIBYTE(CDC_DATA_FS_MAX_PACKET_SIZE),
0x00,
0x07,
USB_DESC_TYPE_ENDPOINT,
CDC_IN_EP,
0x02,
LOBYTE(CDC_DATA_FS_MAX_PACKET_SIZE),
HIBYTE(CDC_DATA_FS_MAX_PACKET_SIZE),
0x00
};