Skip to main content

Class Pcx8574.PinDefinitions

Pin definitions for 8 pin MCP IO expanders

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

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

Properties

Controller

The controller for the pins

View Source
Declaration
public IPinController? Controller { get; set; }

AllPins

List of pins

View Source
Declaration
public IList<IPin> AllPins { get; }

P0

Pin P0

View Source
Declaration
public IPin P0 { get; }

P1

Pin P1

View Source
Declaration
public IPin P1 { get; }

P2

Pin P2

View Source
Declaration
public IPin P2 { get; }

P3

Pin P3

View Source
Declaration
public IPin P3 { get; }

P4

Pin P4

View Source
Declaration
public IPin P4 { get; }

P5

Pin P5

View Source
Declaration
public IPin P5 { get; }

P6

Pin P6

View Source
Declaration
public IPin P6 { get; }

P7

Pin P7

View Source
Declaration
public IPin P7 { get; }

Methods

InitAllPins()

Initialize all pins

View Source
Declaration
protected void InitAllPins()

GetEnumerator()

Get Pins

View Source
Declaration
public IEnumerator<IPin> GetEnumerator()
Returns

System.Collections.Generic.IEnumerator<Meadow.Hardware.IPin>: IEnumerator of IPin with all pins

Implements

  • Meadow.Hardware.IPinDefinitions
  • System.Collections.Generic.IEnumerable<Meadow.Hardware.IPin>
  • System.Collections.IEnumerable