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
总线的 ID。
- settings
- SpiConnectionSettings
连接设置。
返回
SPI 设备。
- 属性
Windows 要求
应用功能 |
lowLevel
|