Class Mcp23x1x.PinDefinitions
Pin definitions for 16 pin MCP IO expanders
Assembly: Mcp23xxx.dll
View Source
Declaration
public class Mcp23x1x.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; }
GPA0
Pin GPA0
View Source
Declaration
public IPin GPA0 { get; }
GPA1
Pin GPA1
View Source
Declaration
public IPin GPA1 { get; }
GPA2
Pin GPA2
View Source
Declaration
public IPin GPA2 { get; }
GPA3
Pin GPA3
View Source
Declaration
public IPin GPA3 { get; }
GPA4
Pin GPA4
View Source
Declaration
public IPin GPA4 { get; }
GPA5
Pin GPA5
View Source
Declaration
public IPin GPA5 { get; }
GPA6
Pin GPA6
View Source
Declaration
public IPin GPA6 { get; }
GPA7
Pin GPA7
View Source
Declaration
public IPin GPA7 { get; }
GPB0
Pin GPB0
View Source
Declaration
public IPin GPB0 { get; }
GPB1
Pin GPB1
View Source
Declaration
public IPin GPB1 { get; }
GPB2
Pin GPB2
View Source
Declaration
public IPin GPB2 { get; }
GPB3
Pin GPB3
View Source
Declaration
public IPin GPB3 { get; }
GPB4
Pin GPB4
View Source
Declaration
public IPin GPB4 { get; }
GPB5
Pin GPB5
View Source
Declaration
public IPin GPB5 { get; }
GPB6
Pin GPB6
View Source
Declaration
public IPin GPB6 { get; }
GPB7
Pin GPB7
View Source
Declaration
public IPin GPB7 { 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