Skip to main content

Interface IAnalogInputMultiplexer

Analog input multiplexer abstraction

Assembly: AnalogMux.dll
View Source
public interface IAnalogInputMultiplexer

Properties

EnablePort

The port connected to the Enable pin of the mux (otherwise must be tied low)

View Source
IDigitalOutputPort? EnablePort { get; }

Signal

The analog input connected to the Mux output pin (Z)

View Source
IAnalogInputPort Signal { get; }

Methods

Disable()

Disables the multiplexer (if an enable port was provided)

View Source
void Disable()

Enable()

Enables the multiplexer (if an enable port was provided)

View Source
void Enable()

SetInputChannel(int)

Sets the channel input that will be routed to the mux Signal output

View Source
void SetInputChannel(int channel)
Parameters
TypeName
System.Int32channel
Exceptions

System.ArgumentOutOfRangeException