Characteristic Locus
Inherited Members IByteCommunications.Read(Span<byte>) IByteCommunications.ReadRegister(byte, Span<byte>) IByteCommunications.ReadRegister(byte) IByteCommunications.ReadRegisterAsUShort(byte, ByteOrder) IByteCommunications.Write(byte) IByteCommunications.Write(Span<byte>) IByteCommunications.WriteRegister(byte, byte) IByteCommunications.WriteRegister(byte, Span<byte>, ByteOrder) IByteCommunications.WriteRegister(byte, ushort, ByteOrder) IByteCommunications.WriteRegister(byte, uint, ByteOrder) IByteCommunications.WriteRegister(byte, ulong, ByteOrder) IByteCommunications.Exchange(Span<byte>, Span<byte>, DuplexType)
Namespace Meadow.Hardware
Assembly Meadow.Contracts.dll

Syntax

public interface ISpiCommunications : IByteCommunications

Properties

Bus

SPI bus

Declaration
ISpiBus Bus { get; }

Property Value

Type Description
ISpiBus

BusMode

SPI bus mode

Declaration
SpiClockConfiguration.Mode BusMode { get; set; }

Property Value

Type Description
SpiClockConfiguration.Mode

BusSpeed

SPI bus speed

Declaration
Frequency BusSpeed { get; set; }

Property Value

Type Description
Frequency

ChipSelect

Chip select port

Declaration
IDigitalOutputPort? ChipSelect { get; }

Property Value

Type Description
IDigitalOutputPort