Class Pcx857x.DigitalInputPort
A Pcx857x-specific implementation of the IDigitalInputPort
Assembly: Pcx857x.dll
View Source
public class Pcx857x.DigitalInputPort : DigitalInputPortBase, IDigitalInputPort, IDigitalPort, IPort<IDigitalChannelInfo>, IDisposable
Inheritance: System.Object
-> Meadow.Hardware.PortBase<Meadow.Hardware.IDigitalChannelInfo>
-> Meadow.Hardware.DigitalPortBase
-> Meadow.Hardware.DigitalInputPortBase
Implements:
Meadow.Hardware.IDigitalInputPort
, Meadow.Hardware.IDigitalPort
, Meadow.Hardware.IPort<Meadow.Hardware.IDigitalChannelInfo>
, System.IDisposable
Properties
Resistor
Gets or sets the internal resistor mode of the port
View Source
public override ResistorMode Resistor { get; set; }
State
Gets the current state of the port
View Source
public override bool State { get; }
Peripheral
The port's containing Pcx857x
View Source
public Pcx857x Peripheral { get; }
Methods
Dispose(bool)
Releases the resources used by the port.
View Source
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | A boolean value indicating whether the port is being disposed. |
Implements
Meadow.Hardware.IDigitalInputPort
Meadow.Hardware.IDigitalPort
Meadow.Hardware.IPort<Meadow.Hardware.IDigitalChannelInfo>
System.IDisposable