Freigeben über


ISpiDeviceStatics.FromIdAsync(String, SpiConnectionSettings) Methode

Definition

Öffnet ein Gerät mit den angegebenen Verbindungseinstellungen.

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)

Parameter

busId
String

Platform::String

winrt::hstring

Die ID des Busses.

settings
SpiConnectionSettings

Die Verbindungseinstellungen.

Gibt zurück

Das SPI-Gerät.

Attribute

Windows-Anforderungen

App-Funktionen
lowLevel

Gilt für: