Table of Contents

Class Mcp23xxx.BusAdapter

Namespace
Iot.Device.Mcp23xxx
Assembly
Iot.Device.Mcp23xxx.dll

Bus adapter

protected abstract class Mcp23xxx.BusAdapter
Inheritance
Mcp23xxx.BusAdapter
Derived

Constructors

BusAdapter()

protected BusAdapter()

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public abstract void Dispose()

Read(byte, SpanByte)

Reads bytes from the device register

public abstract void Read(byte registerAddress, SpanByte buffer)

Parameters

registerAddress byte

Register address

buffer SpanByte

Bytes to be read from the register

Write(byte, SpanByte)

Writes bytes to the device register

public abstract void Write(byte registerAddress, SpanByte data)

Parameters

registerAddress byte

Register address

data SpanByte

Bytes to be written to the register