Class Mcp23x0x
Wraps 8-bit MCP I/O expanders.
public abstract class Mcp23x0x : Mcp23xxx
- Inheritance
-
GpioDriverMcp23x0x
- Derived
- Inherited Members
Constructors
Mcp23x0x(BusAdapter, int, int, GpioController?, bool)
Constructs Mcp23x0x instance
protected Mcp23x0x(Mcp23xxx.BusAdapter device, int reset, int interrupt, GpioController? controller = null, bool shouldDispose = true)
Parameters
device
Mcp23xxx.BusAdapterI2C device used to communicate with the device
reset
intReset pin
interrupt
intInterrupt pin
controller
GpioControllerGpioController related with
reset
andinterrupt
pinsshouldDispose
boolTrue to dispose the Gpio Controller
Properties
PinCount
The number of pins provided by the driver.
protected override int PinCount { get; }