Skip to main content

Class Ads7128.PinDefinitions

Provides definitions for all pins available on the ADS7128 ADC.

Assembly: Ads7128.dll​
View Source​
Declaration
public class Ads7128.PinDefinitions : IPinDefinitions, IEnumerable<IPin>, IEnumerable

Implements:
Meadow.Hardware.IPinDefinitions, System.Collections.Generic.IEnumerable<Meadow.Hardware.IPin>, System.Collections.IEnumerable

Properties​

AllPins​

Collection of pins

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; }

AIN0​

Gets the Analog Input 0 pin.

View Source​
Declaration
public IPin AIN0 { get; }

AIN1​

Gets the Analog Input 1 pin.

View Source​
Declaration
public IPin AIN1 { get; }

AIN2​

Gets the Analog Input 2 pin.

View Source​
Declaration
public IPin AIN2 { get; }

AIN3​

Gets the Analog Input 3 pin.

View Source​
Declaration
public IPin AIN3 { get; }

AIN4​

Gets the Analog Input 4 pin.

View Source​
Declaration
public IPin AIN4 { get; }

AIN5​

Gets the Analog Input 5 pin.

View Source​
Declaration
public IPin AIN5 { get; }

AIN6​

Gets the Analog Input 6 pin.

View Source​
Declaration
public IPin AIN6 { get; }

AIN7​

Gets the Analog Input 7 pin.

View Source​
Declaration
public IPin AIN7 { get; }

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