Loading...
Searching...
No Matches
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.
 

Field Documentation

◆ dfu_descr

usbus_descr_gen_t usbus_dfu_device::dfu_descr

DFU descriptor generator.

Definition at line 35 of file dfu.h.

◆ dfu_state

usb_dfu_state_t usbus_dfu_device::dfu_state

Internal DFU state machine.

Definition at line 46 of file dfu.h.

◆ handler_ctrl

usbus_handler_t usbus_dfu_device::handler_ctrl

Control interface handler.

Definition at line 33 of file dfu.h.

◆ iface

usbus_interface_t usbus_dfu_device::iface

Control interface.

Definition at line 34 of file dfu.h.

◆ mode

unsigned usbus_dfu_device::mode

0 - APP mode, 1 DFU mode

Definition at line 44 of file dfu.h.

◆ selected_slot

unsigned usbus_dfu_device::selected_slot

Slot used for upgrade.

Definition at line 45 of file dfu.h.

◆ skip_signature

bool usbus_dfu_device::skip_signature

Skip RIOTBOOT signature status.

Definition at line 42 of file dfu.h.

◆ slot0_str

usbus_string_t usbus_dfu_device::slot0_str

Descriptor string for Slot 0.

Definition at line 36 of file dfu.h.

◆ usbus

usbus_t* usbus_dfu_device::usbus

Ptr to the USBUS context.

Definition at line 43 of file dfu.h.


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