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