Crate dfu_core

Source
Expand description

Sans IO core library (traits and tools) for DFU.

Modules§

asynchronousasync
Generic asynchronous implementation.
detach
Commands to detach the device.
download
Commands to download a firmware into the device.
functional_descriptor
Functional descriptor.
get_status
Commands to get the status of the device.
memory_layout
Memory layout.
syncstd
Generic synchronous implementation.

Structs§

DfuSansIo
Use this struct to create state machines to make operations on the device.
UsbReadControl
Usb read request
UsbWriteControl
Usb write request

Enums§

DfuProtocol
The DFU protocol variant in use
Error
State
DFU State.
Status
DFU Status.

Traits§

ChainedCommand
A trait for commands that be chained into another.
DfuIo
Trait to implement lower level communication with a USB device.