ProviderI2cConnectionSettings
ProviderI2cConnectionSettings
ProviderI2cConnectionSettings
ProviderI2cConnectionSettings
Class
Definition
Represents the connection settings you want to use for an inter-integrated circuit (I2 C) device.
public : sealed class ProviderI2cConnectionSettings : IProviderI2cConnectionSettingspublic sealed class ProviderI2cConnectionSettings : IProviderI2cConnectionSettingsPublic NotInheritable Class ProviderI2cConnectionSettings Implements IProviderI2cConnectionSettings// You can use this class in JavaScript.
- Attributes
| Device family |
Windows IoT Extension SDK (introduced v10.0.10586.0)
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.Devices.DevicesLowLevelContract (introduced v2)
|
Properties
BusSpeed BusSpeed BusSpeed BusSpeed
Gets or sets the bus speed to use for connecting to an inter-integrated circuit (I2 C) device. The bus speed is the frequency at which to clock the I2 C bus when accessing the device.
public : ProviderI2cBusSpeed BusSpeed { get; set; }public ProviderI2cBusSpeed BusSpeed { get; set; }Public ReadWrite Property BusSpeed As ProviderI2cBusSpeed// You can use this property in JavaScript.
The bus speed to use for connecting to an I2 C device.
SharingMode SharingMode SharingMode SharingMode
Gets or sets the sharing mode to use to connect to the inter-integrated circuit (I2 C) bus address. This mode determines whether other connections to the I2 C bus address can be opened while you are connect to the I2 C bus address.
public : ProviderI2cSharingMode SharingMode { get; set; }public ProviderI2cSharingMode SharingMode { get; set; }Public ReadWrite Property SharingMode As ProviderI2cSharingMode// You can use this property in JavaScript.
The sharing mode to use to connect to the I2 C bus address.
SlaveAddress SlaveAddress SlaveAddress SlaveAddress
Gets or sets the bus address of the inter-integrated circuit (I2 C) device.
public : int SlaveAddress { get; set; }public int SlaveAddress { get; set; }Public ReadWrite Property SlaveAddress As int// You can use this property in JavaScript.
- Value
- int int int int
The bus address of the I2 C device. Only 7-bit addressing is supported, so the range of values that are valid is from 8 to 119.