Loading...
Searching...
No Matches
usbus_descr_gen Struct Reference

USBUS descriptor generator. More...

Detailed Description

USBUS descriptor generator.

The functions are called to allow custom modules to define their own descriptors in addition to the USB descriptor. The top level (usbus_t), the interface (usbus_interface_t), interface alternative settings (usbus_interface_alt_t) and endpoints (usbus_endpoint_t) allow for generating additional descriptors

Definition at line 298 of file usbus.h.

#include <usbus.h>

Data Fields

struct usbus_descr_gennext
 ptr to the next descriptor generator
 
const usbus_descr_gen_funcs_tfuncs
 Function pointers.
 
void * arg
 Extra context argument for the descriptor functions.
 

Field Documentation

◆ arg

void* usbus_descr_gen::arg

Extra context argument for the descriptor functions.

Definition at line 301 of file usbus.h.

◆ funcs

const usbus_descr_gen_funcs_t* usbus_descr_gen::funcs

Function pointers.

Definition at line 300 of file usbus.h.

◆ next

struct usbus_descr_gen* usbus_descr_gen::next

ptr to the next descriptor generator

Definition at line 299 of file usbus.h.


The documentation for this struct was generated from the following file: