Edit

Share via


SoftwareSpi Class

Definition

Software SPI implementation

public class SoftwareSpi : System.Device.Spi.SpiDevice
Inheritance
SoftwareSpi

Constructors

Properties

ConnectionSettings

The connection settings of a device on a SPI bus. The connection settings are immutable after the device is created so the object returned will be a clone of the settings object.

Methods

Dispose() (Inherited from SpiDevice)
Dispose(Boolean)

Disposes this instance

Read(Span<Byte>)

Reads data from the SPI device.

ReadByte()

Reads a byte from the SPI device.

ReadByte()

Reads a byte from the SPI device.

(Inherited from SpiDevice)
TransferFullDuplex(ReadOnlySpan<Byte>, Span<Byte>)

Writes and reads data from the SPI device.

Write(ReadOnlySpan<Byte>)

Writes data to the SPI device.

WriteByte(Byte)

Writes a byte to the SPI device.

WriteByte(Byte)

Writes a byte to the SPI device.

(Inherited from SpiDevice)

Applies to