Loading...
Searching...
No Matches
USBUS DFU - USB Device Firmware Upgrade

Specific USB DFU defines and helpers for USBUS. More...

Detailed Description

Specific USB DFU defines and helpers for USBUS.

Author
Dylan Laduranty dylan.nosp@m..lad.nosp@m.urant.nosp@m.y@me.nosp@m.sotic.nosp@m..com

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.
 

Function Documentation

◆ usbus_dfu_init()

void usbus_dfu_init ( usbus_t usbus,
usbus_dfu_device_t handler,
unsigned  mode 
)

DFU initialization function.

Parameters
usbusUSBUS thread to use
handlerDFU device struct
modeDFU start mode (0 runtime mode / 1 dfu mode)