snickerdoodle Platform Controller
firmware for STM32F0 platform controller
USBD_DESC_Private_Variables

Variables

USBD_DescriptorsTypeDef FS_Desc
 
__ALIGN_BEGIN uint8_t USBD_FS_DeviceDesc [USB_LEN_DEV_DESC] __ALIGN_END
 

Detailed Description

Variable Documentation

◆ __ALIGN_END

__ALIGN_BEGIN uint8_t USBD_StrDesc [USBD_MAX_STR_DESC_SIZ] __ALIGN_END

#include <Src/usbd_desc.c>

Initial value:
=
{
0x12,
USB_DESC_TYPE_DEVICE,
0x00,
0x02,
0x00,
0x00,
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
}

< IAR Compiler IAR Compiler

◆ FS_Desc

USBD_DescriptorsTypeDef FS_Desc

#include <Src/usbd_desc.c>

Initial value:
=
{
}
uint8_t * USBD_FS_InterfaceStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
USBD_HS_InterfaceStrDescriptor return the interface string descriptor.
Definition: usbd_desc.c:272
uint8_t * USBD_FS_DeviceDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
USBD_FS_DeviceDescriptor return the device descriptor.
Definition: usbd_desc.c:173
uint8_t * USBD_FS_ConfigStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
USBD_FS_ConfigStrDescriptor return the configuration string descriptor.
Definition: usbd_desc.c:252
uint8_t * USBD_FS_ManufacturerStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
USBD_FS_ManufacturerStrDescriptor return the manufacturer string descriptor.
Definition: usbd_desc.c:219
uint8_t * USBD_FS_LangIDStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
USBD_FS_LangIDStrDescriptor return the LangID string descriptor.
Definition: usbd_desc.c:186
uint8_t * USBD_FS_SerialStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
USBD_FS_SerialStrDescriptor return the serial number string descriptor.
Definition: usbd_desc.c:232
uint8_t * USBD_FS_ProductStrDescriptor(USBD_SpeedTypeDef speed, uint16_t *length)
USBD_FS_ProductStrDescriptor return the product string descriptor.
Definition: usbd_desc.c:199

IAR Compiler