Share via


II2cDeviceStatics Interface

Definition

Provides ways to open a communications channel to a device on an inter-integrated circuit (I2 C) bus.

public interface class II2cDeviceStatics
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.DevicesLowLevelContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2443394019, 29492, 17682, 150, 188, 251, 174, 148, 89, 245, 246)]
struct II2cDeviceStatics
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.DevicesLowLevelContract), 65536)]
[Windows.Foundation.Metadata.Guid(2443394019, 29492, 17682, 150, 188, 251, 174, 148, 89, 245, 246)]
public interface II2cDeviceStatics
Public Interface II2cDeviceStatics
Attributes

Windows requirements

Device family
Windows IoT Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Devices.DevicesLowLevelContract (introduced in v1.0)

Methods

FromIdAsync(String, I2cConnectionSettings)

Retrieves an I2cDevice object asynchronously for the inter-integrated circuit (I2 C) bus controller that has the specified plug and play device identifier, using the specified connection settings.

GetDeviceSelector()

Retrieves an Advanced Query Syntax (AQS) string for all of the inter-integrated circuit (I2 C) bus controllers on the system. You can use this string with the DeviceInformation.FindAllAsync method to get DeviceInformation objects for those bus controllers.

GetDeviceSelector(String)

Retrieves an Advanced Query Syntax (AQS) string for the inter-integrated circuit (I2 C) bus that has the specified friendly name. You can use this string with the DeviceInformation.FindAllAsync method to get a DeviceInformation object for that bus.

Applies to

See also