Class Rs485Connector.Rs485PinDefinitions
Represents the pin definitions for an RS-485 connector, providing access to all pins and their associated controller.
Assembly: Meadow.Contracts.dll
View Source
Declaration
public class Rs485Connector.Rs485PinDefinitions : IPinDefinitions, IEnumerable<IPin>, IEnumerable
Implements:
Meadow.Hardware.IPinDefinitions, System.Collections.Generic.IEnumerable<Meadow.Hardware.IPin>, System.Collections.IEnumerable
Properties
AllPins
Convenience property which contains all the pins available on the device.
View Source
Declaration
public IList<IPin> AllPins { get; }
Controller
Gets or sets the IPinController associated with the IPins
View Source
Declaration
public IPinController? Controller { get; set; }
Methods
GetEnumerator()
Returns an enumerator that iterates through the collection.
View Source
Declaration
public IEnumerator<IPin> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<Meadow.Hardware.IPin>: An enumerator that can be used to iterate through the collection.
Implements
- Meadow.Hardware.IPinDefinitions
System.Collections.Generic.IEnumerable<Meadow.Hardware.IPin>System.Collections.IEnumerable
Extension Methods
- System.Collections.Generic.IEnumerable{Meadow.Hardware.IPin}.Meadow.ExtensionMethods.Contains``1(Meadow.Hardware.IPin[])
- System.Collections.Generic.IEnumerable{Meadow.Hardware.IPin}.Meadow.ExtensionMethods.FirstIndexOf``1(Meadow.Hardware.IPin[])