ProviderSpiConnectionSettings ProviderSpiConnectionSettings ProviderSpiConnectionSettings ProviderSpiConnectionSettings Class

Definition

Represents the provider settings for the connection to a device.

public : sealed class ProviderSpiConnectionSettings : IProviderSpiConnectionSettingspublic sealed class ProviderSpiConnectionSettings : IProviderSpiConnectionSettingsPublic NotInheritable Class ProviderSpiConnectionSettings Implements IProviderSpiConnectionSettings// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows IoT Extension SDK (introduced v10.0.10586.0) Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Devices.DevicesLowLevelContract (introduced v2)

Constructors

ProviderSpiConnectionSettings(Int32) ProviderSpiConnectionSettings(Int32) ProviderSpiConnectionSettings(Int32) ProviderSpiConnectionSettings(Int32)

Initializes a new instance of ProviderSpiConnectionSettings.

public : ProviderSpiConnectionSettings(int chipSelectLine)public ProviderSpiConnectionSettings(Int32 chipSelectLine)Public Sub New(chipSelectLine As Int32)// You can use this method in JavaScript.
Parameters
chipSelectLine
int Int32 Int32 Int32

The chip select line on which the connection will be made.

Properties

ChipSelectLine ChipSelectLine ChipSelectLine ChipSelectLine

Gets or sets the chip select line for the connection to the SPI device.

public : int ChipSelectLine { get; set; }public int ChipSelectLine { get; set; }Public ReadWrite Property ChipSelectLine As int// You can use this property in JavaScript.
Value
int int int int

The chip select line.

ClockFrequency ClockFrequency ClockFrequency ClockFrequency

Gets or sets the clock frequency for the connection.

public : int ClockFrequency { get; set; }public int ClockFrequency { get; set; }Public ReadWrite Property ClockFrequency As int// You can use this property in JavaScript.
Value
int int int int

Value of the clock frequency in Hz.

DataBitLength DataBitLength DataBitLength DataBitLength

Gets or sets the bit length for data on this connection.

public : int DataBitLength { get; set; }public int DataBitLength { get; set; }Public ReadWrite Property DataBitLength As int// You can use this property in JavaScript.
Value
int int int int

The data bit length.

Mode Mode Mode Mode

Gets or sets the ProviderSpiMode for this connection.

public : ProviderSpiMode Mode { get; set; }public ProviderSpiMode Mode { get; set; }Public ReadWrite Property Mode As ProviderSpiMode// You can use this property in JavaScript.

SharingMode SharingMode SharingMode SharingMode

Gets or sets the sharing mode for the SPI connection.

public : ProviderSpiSharingMode SharingMode { get; set; }public ProviderSpiSharingMode SharingMode { get; set; }Public ReadWrite Property SharingMode As ProviderSpiSharingMode// You can use this property in JavaScript.