Class MpsseDigitalInputPort
Represents a digital input port implementation for the FT232 bus.
Assembly: Ft232h.dll
View Source
public sealed class MpsseDigitalInputPort : DigitalInterruptPortBase, IDigitalInterruptPort, IDigitalInputPort, IDigitalPort, IPort<IDigitalChannelInfo>, IDisposable, IObservable<IChangeResult<DigitalState>>
Inheritance: System.Object -> Meadow.Hardware.PortBase<Meadow.Hardware.IDigitalChannelInfo> -> Meadow.Hardware.DigitalPortBase -> Meadow.Hardware.DigitalInputPortBase -> Meadow.Hardware.DigitalInterruptPortBase
Implements:
Meadow.Hardware.IDigitalInterruptPort, Meadow.Hardware.IDigitalInputPort, Meadow.Hardware.IDigitalPort, Meadow.Hardware.IPort<Meadow.Hardware.IDigitalChannelInfo>, System.IDisposable, System.IObservable<Meadow.IChangeResult<Meadow.Hardware.DigitalState>>
Properties
State
Gets the current state of the input port.
View Source
public override bool State { get; }
Resistor
Gets or sets the resistor mode of the input port.
View Source
public override ResistorMode Resistor { get; set; }
DebounceDuration
Gets or sets the debounce duration of the input port.
View Source
public override TimeSpan DebounceDuration { get; set; }
GlitchDuration
Gets or sets the glitch duration of the input port.
View Source
public override TimeSpan GlitchDuration { get; set; }
Implements
Meadow.Hardware.IDigitalInterruptPortMeadow.Hardware.IDigitalInputPortMeadow.Hardware.IDigitalPortMeadow.Hardware.IPort<Meadow.Hardware.IDigitalChannelInfo>System.IDisposableSystem.IObservable<Meadow.IChangeResult<Meadow.Hardware.DigitalState>>