Specific USB DFU defines and helpers for USBUS. More...
Specific USB DFU defines and helpers for USBUS.
Data Structures | |
struct | usbus_dfu_device |
USBUS DFU device interface context. More... | |
Typedefs | |
typedef struct usbus_dfu_device | usbus_dfu_device_t |
USBUS DFU device interface context. | |
Functions | |
void | usbus_dfu_init (usbus_t *usbus, usbus_dfu_device_t *handler, unsigned mode) |
DFU initialization function. | |
void usbus_dfu_init | ( | usbus_t * | usbus, |
usbus_dfu_device_t * | handler, | ||
unsigned | mode | ||
) |
DFU initialization function.
usbus | USBUS thread to use |
handler | DFU device struct |
mode | DFU start mode (0 runtime mode / 1 dfu mode) |