Characteristic Locus
Inheritance System.Object > AnalogMuxBase > Nxp74HC4051 > Nxp74HC4067
Implements IAnalogInputMultiplexer
Namespace Meadow.Foundation.ICs.IOExpanders
Assembly AnalogMux.dll

Syntax

public abstract class AnalogMuxBase : object, 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
System.Nullable<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
System.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(Int32)

Set input channel

Declaration
public abstract void SetInputChannel(int channel)

Parameters

Type Name Description
System.Int32 channel

he input channel