Windows.Devices.I2c.Provider Windows.Devices.I2c.Provider Windows.Devices.I2c.Provider Windows.Devices.I2c.Provider Windows.Devices.I2c.Provider Namespace

This API exposes a Provider interface and associated classes for the user to implement for a specific controller. The I2C API needs a I2 C Provider implementation to talk to the I2 C controller.

Classes

ProviderI2cConnectionSettings ProviderI2cConnectionSettings ProviderI2cConnectionSettings ProviderI2cConnectionSettings ProviderI2cConnectionSettings

Represents the connection settings you want to use for an inter-integrated circuit (I2 C) device.

Structs

ProviderI2cTransferResult ProviderI2cTransferResult ProviderI2cTransferResult ProviderI2cTransferResult ProviderI2cTransferResult

Provides information about whether the data transfers that the @Windows.Devices.I2c.Provider.II2cDeviceProvider.ReadPartial(System.Byte[])?text=ReadPartial, @Windows.Devices.I2c.Provider.II2cDeviceProvider.WritePartial(System.Byte[])?text=WritePartial, or @Windows.Devices.I2c.Provider.II2cDeviceProvider.WriteReadPartial(System.Byte[],System.Byte[])?text=WriteReadPartial method performed succeeded, and the actual number of bytes the method transferred.

Interfaces

II2cControllerProvider II2cControllerProvider II2cControllerProvider II2cControllerProvider II2cControllerProvider

Represents properties and methods common to all I2 C controllers.

II2cDeviceProvider II2cDeviceProvider II2cDeviceProvider II2cDeviceProvider II2cDeviceProvider

Represents methods common to all I2 C device providers.

II2cProvider II2cProvider II2cProvider II2cProvider II2cProvider

Represents actions common to all I2 C providers.

Enums

ProviderI2cBusSpeed ProviderI2cBusSpeed ProviderI2cBusSpeed ProviderI2cBusSpeed ProviderI2cBusSpeed

Describes the bus speeds that are available 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.

ProviderI2cSharingMode ProviderI2cSharingMode ProviderI2cSharingMode ProviderI2cSharingMode ProviderI2cSharingMode

Describes the modes in which you can connect to an inter-integrated circuit (I2 C) bus address. These modes determine whether other connections to the I2 C bus address can be opened while you are connected to the I2 C bus address.

ProviderI2cTransferStatus ProviderI2cTransferStatus ProviderI2cTransferStatus ProviderI2cTransferStatus ProviderI2cTransferStatus

Describes whether the data transfers that the @Windows.Devices.I2c.Provider.II2cDeviceProvider.ReadPartial(System.Byte[])?text=ReadPartial, @Windows.Devices.I2c.Provider.II2cDeviceProvider.WritePartial(System.Byte[])?text=WritePartial, or @Windows.Devices.I2c.Provider.II2cDeviceProvider.WriteReadPartial(System.Byte[],System.Byte[])?text=WriteReadPartial method performed succeeded, or provides the reason that the transfers did not succeed.