ISpiDeviceStatics.FromIdAsync(String, SpiConnectionSettings) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
使用提供的連線設定開啟裝置。
public:
IAsyncOperation<SpiDevice ^> ^ FromIdAsync(Platform::String ^ busId, SpiConnectionSettings ^ settings);
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<SpiDevice> FromIdAsync(winrt::hstring const& busId, SpiConnectionSettings const& settings);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<SpiDevice> FromIdAsync(string busId, SpiConnectionSettings settings);
function fromIdAsync(busId, settings)
Public Function FromIdAsync (busId As String, settings As SpiConnectionSettings) As IAsyncOperation(Of SpiDevice)
參數
- busId
-
String
Platform::String
winrt::hstring
匯流排的識別碼。
- settings
- SpiConnectionSettings
連接設定。
傳回
SPI 裝置。
- 屬性
Windows 需求
應用程式功能 |
lowLevel
|