Loading...
Searching...
No Matches
USBUS descriptor formatter functions

Detailed Description

Files

file  fmt.h
 USBUS descriptor formatter functions.
 

Functions

size_t usbus_fmt_descriptor_conf (usbus_t *usbus)
 generator for the USB configuration descriptor
 
size_t usbus_fmt_descriptor_dev (usbus_t *usbus)
 generator for the USB device descriptor
 

Function Documentation

◆ usbus_fmt_descriptor_conf()

size_t usbus_fmt_descriptor_conf ( usbus_t usbus)

generator for the USB configuration descriptor

Parameters
[in]usbusUSBUS context
Returns
the generated descriptor size in bytes

◆ usbus_fmt_descriptor_dev()

size_t usbus_fmt_descriptor_dev ( usbus_t usbus)

generator for the USB device descriptor

Parameters
[in]usbusUSBUS context
Returns
the generated descriptor size in bytes