ProviderSpiConnectionSettings Class

Definition

Represents the provider settings for the connection to a device.

public ref class ProviderSpiConnectionSettings sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Devices.Spi.Provider.IProviderSpiConnectionSettingsFactory, 131072, "Windows.Devices.DevicesLowLevelContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 131072)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ProviderSpiConnectionSettings final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Devices.Spi.Provider.IProviderSpiConnectionSettingsFactory), 131072, "Windows.Devices.DevicesLowLevelContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 131072)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ProviderSpiConnectionSettings
function ProviderSpiConnectionSettings(chipSelectLine)
Public NotInheritable Class ProviderSpiConnectionSettings
Inheritance
Object Platform::Object IInspectable ProviderSpiConnectionSettings
Attributes

Windows requirements

Device family
Windows IoT Extension SDK (introduced in 10.0.10586.0)
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Devices.DevicesLowLevelContract (introduced in v2.0)

Constructors

ProviderSpiConnectionSettings(Int32)

Initializes a new instance of ProviderSpiConnectionSettings.

Properties

ChipSelectLine

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

ClockFrequency

Gets or sets the clock frequency for the connection.

DataBitLength

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

Mode

Gets or sets the ProviderSpiMode for this connection.

SharingMode

Gets or sets the sharing mode for the SPI connection.

Applies to