Class Pca9671.DigitalInputPort
A Pca9671-specific implementation of the IInputPort
Assembly: Pca9671.dll
View Source
public class Pca9671.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
Peripheral
The port's containing Pca9671
View Source
public Pca9671 Peripheral { get; }
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; }
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