usbus_dfu_device Struct Reference

USBUS DFU device interface context. More...

Detailed Description

USBUS DFU device interface context.

Definition at line 32 of file dfu.h.

#include <dfu.h>

Data Fields

usbus_handler_t handler_ctrl
 Control interface handler.
 
usbus_interface_t iface
 Control interface.
 
usbus_descr_gen_t dfu_descr
 DFU descriptor generator.
 
usbus_string_t slot0_str
 Descriptor string for Slot 0.
 
bool skip_signature
 Skip RIOTBOOT signature status.
 
usbus_tusbus
 Ptr to the USBUS context.
 
unsigned mode
 0 - APP mode, 1 DFU mode
 
unsigned selected_slot
 Slot used for upgrade.
 
usb_dfu_state_t dfu_state
 Internal DFU state machine.
 

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