SoftwareSpi Class

Definition

Software SPI implementation

C#
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

Proizvod Verzije
.NET IoT Libraries 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0