Skip to main content

Class Pcx8575.PinDefinitions

Pin definitions for 16 pin MCP IO expanders

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

AllPins

List of pins

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

P00

Pin P00

View Source
Declaration
public IPin P00 { get; }

P01

Pin P01

View Source
Declaration
public IPin P01 { get; }

P02

Pin P02

View Source
Declaration
public IPin P02 { get; }

P03

Pin P03

View Source
Declaration
public IPin P03 { get; }

P04

Pin P04

View Source
Declaration
public IPin P04 { get; }

P05

Pin P05

View Source
Declaration
public IPin P05 { get; }

P06

Pin P06

View Source
Declaration
public IPin P06 { get; }

P07

Pin P07

View Source
Declaration
public IPin P07 { get; }

P10

Pin P10

View Source
Declaration
public IPin P10 { get; }

P11

Pin P11

View Source
Declaration
public IPin P11 { get; }

P12

Pin P12

View Source
Declaration
public IPin P12 { get; }

P13

Pin P13

View Source
Declaration
public IPin P13 { get; }

P14

Pin P14

View Source
Declaration
public IPin P14 { get; }

P15

Pin P15

View Source
Declaration
public IPin P15 { get; }

P16

Pin P16

View Source
Declaration
public IPin P16 { get; }

P17

Pin P17

View Source
Declaration
public IPin P17 { 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