I2CBus class
[This API is for evaluation purposes only and is subject to change or removal.]
[This documentation is preliminary and is subject to change.]
Manages communication with peripheral devices connected through a inter-integrated circuit (I²C) bus.
Syntax
var i2cBus = Windows.Devices.I2C.I2CBus;
public static class I2CBus
Public NotInheritable Class I2CBus
public ref class I2CBus abstract sealed
Attributes
[DualApiPartition()]
[Experimental()]
[MarshalingBehavior(Agile)]
[Version]
Members
The I2CBus class has these types of members:
- Methods
Methods
The I2CBus class has these methods. With C#, Visual Basic, and C++, it also inherits methods from the Object class.
Method | Description |
---|---|
CreateDeviceAsync | Creates an I2CDevice object asynchronously for the inter-integrated circuit (I2C) 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 (I2C) bus controllers on the system. |
GetDeviceSelector(String) | Retrieves an Advanced Query Syntax (AQS) string for the inter-integrated circuit (I2C) bus that has the specified friendly name. |
Remarks
TODO: Document how the developer can obtain this class object, and add or update retriever elements as necessary.
Requirements (device family)
Device family |
Universal |
API contract |
Windows.Devices.DevicesLowLevelContract, introduced version 1.0 |
Namespace |
Windows.Devices.I2C Windows::Devices::I2C [C++] |
Metadata |
Windows.Devices.DevicesLowLevelContract.winmd |