OpenEFI  v2
USBD_DESC_Private_Functions

Private functions. More...

Functions

uint8_t * USBD_FS_DeviceDescriptor (USBD_SpeedTypeDef speed, uint16_t *length)
 Return the device descriptor. More...
 
uint8_t * USBD_FS_LangIDStrDescriptor (USBD_SpeedTypeDef speed, uint16_t *length)
 Return the LangID string descriptor. More...
 
uint8_t * USBD_FS_ProductStrDescriptor (USBD_SpeedTypeDef speed, uint16_t *length)
 Return the product string descriptor. More...
 
uint8_t * USBD_FS_ManufacturerStrDescriptor (USBD_SpeedTypeDef speed, uint16_t *length)
 Return the manufacturer string descriptor. More...
 
uint8_t * USBD_FS_SerialStrDescriptor (USBD_SpeedTypeDef speed, uint16_t *length)
 Return the serial number string descriptor. More...
 
uint8_t * USBD_FS_ConfigStrDescriptor (USBD_SpeedTypeDef speed, uint16_t *length)
 Return the configuration string descriptor. More...
 
uint8_t * USBD_FS_InterfaceStrDescriptor (USBD_SpeedTypeDef speed, uint16_t *length)
 Return the interface string descriptor. More...
 

Detailed Description

Private functions.

Function Documentation

◆ USBD_FS_ConfigStrDescriptor()

uint8_t * USBD_FS_ConfigStrDescriptor ( USBD_SpeedTypeDef  speed,
uint16_t *  length 
)

Return the configuration string descriptor.

Parameters
speed: Current device speed
length: Pointer to data length variable
Return values
Pointerto descriptor buffer

◆ USBD_FS_DeviceDescriptor()

uint8_t * USBD_FS_DeviceDescriptor ( USBD_SpeedTypeDef  speed,
uint16_t *  length 
)

Return the device descriptor.

Parameters
speed: Current device speed
length: Pointer to data length variable
Return values
Pointerto descriptor buffer

◆ USBD_FS_InterfaceStrDescriptor()

uint8_t * USBD_FS_InterfaceStrDescriptor ( USBD_SpeedTypeDef  speed,
uint16_t *  length 
)

Return the interface string descriptor.

Parameters
speed: Current device speed
length: Pointer to data length variable
Return values
Pointerto descriptor buffer

◆ USBD_FS_LangIDStrDescriptor()

uint8_t * USBD_FS_LangIDStrDescriptor ( USBD_SpeedTypeDef  speed,
uint16_t *  length 
)

Return the LangID string descriptor.

Parameters
speed: Current device speed
length: Pointer to data length variable
Return values
Pointerto descriptor buffer

◆ USBD_FS_ManufacturerStrDescriptor()

uint8_t * USBD_FS_ManufacturerStrDescriptor ( USBD_SpeedTypeDef  speed,
uint16_t *  length 
)

Return the manufacturer string descriptor.

Parameters
speed: Current device speed
length: Pointer to data length variable
Return values
Pointerto descriptor buffer

◆ USBD_FS_ProductStrDescriptor()

uint8_t * USBD_FS_ProductStrDescriptor ( USBD_SpeedTypeDef  speed,
uint16_t *  length 
)

Return the product string descriptor.

Parameters
speed: Current device speed
length: Pointer to data length variable
Return values
Pointerto descriptor buffer

◆ USBD_FS_SerialStrDescriptor()

uint8_t * USBD_FS_SerialStrDescriptor ( USBD_SpeedTypeDef  speed,
uint16_t *  length 
)

Return the serial number string descriptor.

Parameters
speed: Current device speed
length: Pointer to data length variable
Return values
Pointerto descriptor buffer