Characteristic | Locus |
---|---|
Inheritance | object > AnalogMuxBase > Nxp74HC4051 > Nxp74HC4067 |
Implements | IAnalogInputMultiplexer |
Inherited Members | object.Equals(object) object.Equals(object, object) object.GetHashCode() object.GetType() object.MemberwiseClone() object.ReferenceEquals(object, object) object.ToString() |
Namespace | Meadow.Foundation.ICs.IOExpanders |
Assembly | AnalogMux.dll |
Syntax
public abstract class AnalogMuxBase : IAnalogInputMultiplexer
Properties
EnablePort
The port connected to the Enable pin of the mux (otherwise must be tied low)
Declaration
public IDigitalOutputPort? EnablePort { get; }
Property Value
Type | Description |
---|---|
IDigitalOutputPort |
Signal
The analog input connected to the Mux output pin (Z)
Declaration
public IAnalogInputPort Signal { get; }
Property Value
Type | Description |
---|---|
IAnalogInputPort |
SyncRoot
Get the sync root
Declaration
protected object SyncRoot { get; }
Property Value
Type | Description |
---|---|
object |
Methods
Disable()
Disables the multiplexer (if an enable port was provided)
Declaration
public void Disable()
Enable()
Enables the multiplexer (if an enable port was provided)
Declaration
public void Enable()
SetInputChannel(int)
Set input channel
Declaration
public abstract void SetInputChannel(int channel)
Parameters
Type | Name | Description |
---|---|---|
int | channel | he input channel |