Table of Contents

Struct Pca9685Outputs

Namespace
Pamoja.Actuators
Assembly
Pamoja.Actuators.dll

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

public readonly record struct Pca9685Outputs : IEquatable<Pca9685Outputs>
Implements
Inherited Members

Constructors

Pca9685Outputs(bool, bool, bool)

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

public Pca9685Outputs(bool TotemPole, bool Inverted = false, bool ChangeOnAck = false)

Parameters

TotemPole bool

Totem-pole outputs when true, open-drain when false.

Inverted bool

Invert the output logic, for a board with no external driver.

ChangeOnAck bool

Change the outputs on each register write's acknowledge rather than on the stop.

Properties

ChangeOnAck

Change the outputs on each register write's acknowledge rather than on the stop.

public bool ChangeOnAck { get; init; }

Property Value

bool

Inverted

Invert the output logic, for a board with no external driver.

public bool Inverted { get; init; }

Property Value

bool

PowerOn

The power-on wiring: totem-pole outputs, not inverted, changing on the stop.

public static Pca9685Outputs PowerOn { get; }

Property Value

Pca9685Outputs

TotemPole

Totem-pole outputs when true, open-drain when false.

public bool TotemPole { get; init; }

Property Value

bool