Crate drv8833_driver

Source
Expand description

This crate provides a driver for the DRV8833 Dual Bridge Motor Driver.

The motor driver supports two motors and includes a standby pin and a fault interrupt that goes low when overheating or overcurrent conditions are detected.

§This driver offers several operating modes:

§Split

Enables independent control over each bridge (A and B).

§Parallel

Treats both bridges as a single unit, effectively doubling the current when connected in parallel.

§PWM Split

Allows individual control over each bridge using PWM signals.

§PWM Split Single

Allows individual control over each bridge and uses a single PWM signal shared applied directly to eep pin.

§PWM Parallel

Controls both bridges simultaneously with a single PWM signal.

Structs§

MotorDriver
Represents a motor driver, providing access to various modes of operation.

Enums§

MotorDriverError
Represents all possible errors that may occur during the utilization of this crate.

Traits§

Breaks
A trait representing braking control for motors.
Driver
Generics trait implemented by all drive modes.
Movement
A trait representing movement control for motors.
PwmMovement
A trait representing movement control for motors via PWM signal.

Type Aliases§

ParallelDriverType
PwmParallelDriverType
PwmSplitDriverType
PwmSplitSingleDriverType
SplitDriverType