Skip to main content

Interface IAnalogInputMultiplexer

Analog input multiplexer abstraction

Assembly: AnalogMux.dll​
View Source​
Declaration
public interface IAnalogInputMultiplexer

Properties​

EnablePort​

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

View Source​
Declaration
IDigitalOutputPort? EnablePort { get; }

Signal​

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

View Source​
Declaration
IAnalogInputPort Signal { get; }

Methods​

Disable()​

Disables the multiplexer (if an enable port was provided)

View Source​
Declaration
void Disable()

Enable()​

Enables the multiplexer (if an enable port was provided)

View Source​
Declaration
void Enable()

SetInputChannel(int)​

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

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

System.ArgumentOutOfRangeException