whiskers 0.2.0
RP2350 BadUSB Tool
Loading...
Searching...
No Matches
usb_mods Struct Reference

USB Modifiers. More...

#include <usb.h>

Data Fields

char lang [2]
char manu_string [32+1]
char prod_string [32+1]
char serial_string [32+1]
uint16_t vid
uint16_t pid

Detailed Description

USB Modifiers.

This struct is used for if you want to start the USB stack with custom descriptors.

Note that the max string size is 32 bytes. Each string must be null terminated.


The documentation for this struct was generated from the following file:
  • /home/zane/whiskers/code/hal/usb.h