Expand description
This crate allows controlling a DFR0592 DC motor driver hat running an alternate free software firmware.
By default, this crate can communicate with the controller firmware using
an I²C port. It can also communicate with the I²C bootloader developed
along with the firmware when using the bootloader feature of this crate.
§About the alternate firmware
The alternate firmware and the I²C bootloader can be found in the same repository as this crate: https://gitlab.telecom-paris.fr/software/dc-motor-driver-hat.
§Usage
Most users will want to use the controller module in which commands
needed to interact with the motors and the encoders can be found, or the
reexported Controller trait.
Re-exports§
pub use device::Device;pub use bootloader::Bootloader;pub use controller::Controller;
Modules§
- bootloader
- High-level interface with the embedded I²C bootloader
- controller
- High-level interface with the DC motor driver controller
- device
- High-level interface with the DC motor driver hat firmware
- low_
level - Low-level constants used by the I²C protocol