OpenEFI  v2
USBD_DESC_Private_Variables

Private variables. More...

Variables

USBD_DescriptorsTypeDef FS_Desc
 
__ALIGN_BEGIN uint8_t USBD_FS_DeviceDesc [USB_LEN_DEV_DESC] __ALIGN_END
 

Detailed Description

Private variables.

Variable Documentation

◆ __ALIGN_END

__ALIGN_BEGIN uint8_t USBD_StringSerial [USB_SIZ_STRING_SERIAL] __ALIGN_END
Initial value:
=
{
0x12,
USB_DESC_TYPE_DEVICE,
0x00,
0x02,
0x02,
0x02,
0x00,
USB_MAX_EP0_SIZE,
LOBYTE(USBD_VID),
HIBYTE(USBD_VID),
LOBYTE(USBD_PID_FS),
HIBYTE(USBD_PID_FS),
0x00,
0x02,
USBD_IDX_MFC_STR,
USBD_IDX_PRODUCT_STR,
USBD_IDX_SERIAL_STR,
USBD_MAX_NUM_CONFIGURATION
}

USB standard device descriptor.

USB lang identifier descriptor.

IAR Compiler

◆ FS_Desc

USBD_DescriptorsTypeDef FS_Desc
Initial value:
=
{
}
uint8_t * USBD_FS_DeviceDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
Return the device descriptor.
Definition: usbd_desc.c:259
uint8_t * USBD_FS_InterfaceStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
Return the interface string descriptor.
Definition: usbd_desc.c:356
uint8_t * USBD_FS_ProductStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
Return the product string descriptor.
Definition: usbd_desc.c:285
uint8_t * USBD_FS_ConfigStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
Return the configuration string descriptor.
Definition: usbd_desc.c:337
uint8_t * USBD_FS_ManufacturerStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
Return the manufacturer string descriptor.
Definition: usbd_desc.c:304
uint8_t * USBD_FS_SerialStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
Return the serial number string descriptor.
Definition: usbd_desc.c:317
uint8_t * USBD_FS_LangIDStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
Return the LangID string descriptor.
Definition: usbd_desc.c:272

Descriptor for the Usb device.