Table of Contents

Namespace Pamoja.Actuators

Classes

FourWire<TLine>

A four-wire stepper driven coil by coil, through a transistor array such as a ULN2003 or an H-bridge, as pamoja_actuators::stepper::FourWire drives one in Rust.

Pca9685

An NXP PCA9685 16-channel PWM controller, for servos, LEDs, and valves, and a driver for one on an I2C bus.

Pca9685.Mode1

MODE1's bits.

Pca9685.Register

The registers a driver writes and a program reads back.

Pca9685.Sim

A PCA9685 that is not there, for a bus with nothing plugged in.

Pwm

The four register bytes for one PCA9685 channel.

StepDir<TLine>

A stepper behind a step and direction driver chip such as an A4988 or a DRV8825, as pamoja_actuators::stepper::StepDir drives one in Rust.

Stepper

A stepper motor's place in its drive sequence, and how far it has turned.

Structs

Pca9685Outputs

How a PCA9685's sixteen outputs are wired, the MODE2 register.

Enums

StepDirection

Which way to step a motor.

StepDrive

A stepper drive pattern, trading torque, smoothness, and resolution.