共用方式為


ProviderSpiConnectionSettings 類別

定義

表示與裝置連線的提供者設定。

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
繼承
Object Platform::Object IInspectable ProviderSpiConnectionSettings
屬性

Windows 需求

裝置系列
Windows IoT Extension SDK (已於 10.0.10586.0 引進)
Windows 10 Anniversary Edition (已於 10.0.14393.0 引進)
API contract
Windows.Devices.DevicesLowLevelContract (已於 v2.0 引進)

建構函式

ProviderSpiConnectionSettings(Int32)

初始化 ProviderSpiConnectionSettings的新實例。

屬性

ChipSelectLine

取得或設定 SPI 裝置連線的晶片選取線。

ClockFrequency

取得或設定連接的時鐘頻率。

DataBitLength

取得或設定這個連接上資料的位長度。

Mode

取得或設定這個連接的 ProviderSpiMode

SharingMode

取得或設定 SPI 連線的共用模式。

適用於