Private variables.
More...
|
USBD_DescriptorsTypeDef | FS_Desc |
|
__ALIGN_BEGIN uint8_t USBD_FS_DeviceDesc[USB_LEN_DEV_DESC] | __ALIGN_END |
|
Private variables.
◆ __ALIGN_END
__ALIGN_BEGIN uint8_t USBD_StringSerial [USB_SIZ_STRING_SERIAL] __ALIGN_END |
Initial value:=
{
0x12,
USB_DESC_TYPE_DEVICE,
0x10,
0x01,
0x00,
0x00,
0x00,
USB_MAX_EP0_SIZE,
LOBYTE(USBD_VID),
HIBYTE(USBD_VID),
LOBYTE(USBD_PID_FS),
HIBYTE(USBD_PID_FS),
0x00,
0x01,
USBD_IDX_MFC_STR,
USBD_IDX_PRODUCT_STR,
USBD_IDX_SERIAL_STR,
USBD_MAX_NUM_CONFIGURATION
}
USB standard device descriptor.
USB lang indentifier descriptor.
Definition at line 156 of file usbd_desc.c.
157{
158 0x12,
159 USB_DESC_TYPE_DEVICE,
160 0x10,
161 0x01,
162 0x00,
163 0x00,
164 0x00,
165 USB_MAX_EP0_SIZE,
166 LOBYTE(USBD_VID),
167 HIBYTE(USBD_VID),
168 LOBYTE(USBD_PID_FS),
169 HIBYTE(USBD_PID_FS),
170 0x00,
171 0x01,
172 USBD_IDX_MFC_STR,
173 USBD_IDX_PRODUCT_STR,
174 USBD_IDX_SERIAL_STR,
175 USBD_MAX_NUM_CONFIGURATION
176};
◆ FS_Desc
USBD_DescriptorsTypeDef FS_Desc |
Initial value:=
{
#if (USBD_LPM_ENABLED == 1)
#endif
}
uint8_t * USBD_FS_ProductStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
Return the product string descriptor.
uint8_t * USBD_FS_DeviceDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
Return the device descriptor.
uint8_t * USBD_FS_ConfigStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
Return the configuration string descriptor.
uint8_t * USBD_FS_ManufacturerStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
Return the manufacturer string descriptor.
uint8_t * USBD_FS_SerialStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
Return the serial number string descriptor.
uint8_t * USBD_FS_InterfaceStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
Return the interface string descriptor.
uint8_t * USBD_FS_LangIDStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
Return the LangID string descriptor.
uint8_t * USBD_FS_USR_BOSDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
Definition at line 138 of file usbd_desc.c.
139{
147#if (USBD_LPM_ENABLED == 1)
149#endif
150};