Skip to main content

Class Pcx8575.PinDefinitions

Pin definitions for 16 pin MCP IO expanders

Assembly: Pcx857x.dll
View Source
public class Pcx8575.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
public IPinController? Controller { get; set; }

AllPins

List of pins

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

P00

Pin P00

View Source
public IPin P00 { get; }

P01

Pin P01

View Source
public IPin P01 { get; }

P02

Pin P02

View Source
public IPin P02 { get; }

P03

Pin P03

View Source
public IPin P03 { get; }

P04

Pin P04

View Source
public IPin P04 { get; }

P05

Pin P05

View Source
public IPin P05 { get; }

P06

Pin P06

View Source
public IPin P06 { get; }

P07

Pin P07

View Source
public IPin P07 { get; }

P10

Pin P10

View Source
public IPin P10 { get; }

P11

Pin P11

View Source
public IPin P11 { get; }

P12

Pin P12

View Source
public IPin P12 { get; }

P13

Pin P13

View Source
public IPin P13 { get; }

P14

Pin P14

View Source
public IPin P14 { get; }

P15

Pin P15

View Source
public IPin P15 { get; }

P16

Pin P16

View Source
public IPin P16 { get; }

P17

Pin P17

View Source
public IPin P17 { get; }

Methods

InitAllPins()

Initialize all pins

View Source
protected void InitAllPins()

GetEnumerator()

Get Pins

View Source
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