Crate device_driver

Source
Expand description

§Device driver toolkit crates.io Documentation

A toolkit to write better device drivers, faster.

Read the book to learn about how to use the project to build your own device drivers.

Re-exports§

pub use embedded_io;
pub use embedded_io_async;

Macros§

create_device
Macro to implement the device driver.

Structs§

BufferOperation
Intermediate type for doing buffer operations
CommandOperation
Intermediate type for doing command operations
ConversionError
The error returned by the generated TryFroms. It contains the base type of the enum.
RegisterOperation
Object that performs actions on the device in the context of a register

Traits§

AsyncBufferInterface
A trait to represent the interface to the device.
AsyncCommandInterface
A trait to represent the interface to the device.
AsyncRegisterInterface
A trait to represent the interface to the device.
BufferInterface
A trait to represent the interface to the device.
BufferInterfaceError
Common error definition for (async) BufferInterface
CommandInterface
A trait to represent the interface to the device.
RegisterInterface
A trait to represent the interface to the device.