USBUS descriptor generator. More...
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
#include <usbus.h>
Data Fields | |
struct usbus_descr_gen * | next |
ptr to the next descriptor generator | |
const usbus_descr_gen_funcs_t * | funcs |
Function pointers. | |
void * | arg |
Extra context argument for the descriptor functions. | |
void* usbus_descr_gen::arg |
const usbus_descr_gen_funcs_t* usbus_descr_gen::funcs |
struct usbus_descr_gen* usbus_descr_gen::next |