XenevaOS
Loading...
Searching...
No Matches
Functions
usb_desc.cpp File Reference
#include "usb_desc.h"
#include <Drivers/uart.h>
Include dependency graph for usb_desc.cpp:

Functions

usb_descriptor_tdwc2_get_descriptor (void *desc, uint8_t type)
 dwc2_get_descriptor – find a descriptor within descriptor config area
 

Function Documentation

◆ dwc2_get_descriptor()

usb_descriptor_t * dwc2_get_descriptor ( void *  desc,
uint8_t  type 
)

dwc2_get_descriptor – find a descriptor within descriptor config area

Parameters
desc– pointer to config descriptor
type– type of the descriptor