Struct Pca9685Outputs
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
TotemPoleboolTotem-pole outputs when true, open-drain when false.
InvertedboolInvert the output logic, for a board with no external driver.
ChangeOnAckboolChange 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
Inverted
Invert the output logic, for a board with no external driver.
public bool Inverted { get; init; }
Property Value
PowerOn
The power-on wiring: totem-pole outputs, not inverted, changing on the stop.
public static Pca9685Outputs PowerOn { get; }
Property Value
TotemPole
Totem-pole outputs when true, open-drain when false.
public bool TotemPole { get; init; }