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
deviceMcp23xxx.BusAdapterI2C device used to communicate with the device
resetintReset pin
interruptintInterrupt pin
controllerGpioControllerGpioController related with
resetandinterruptpinsshouldDisposeboolTrue to dispose the Gpio Controller
Properties
PinCount
The number of pins provided by the driver.
protected override int PinCount { get; }