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 an I2 C Provider implementation to talk to the I2 C controller.

Note

For info about providers, see the note at the beginning of the Windows.Devices.Gpio.Provider namespace topic.

Classes

ProviderI2cConnectionSettings

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

Structs

ProviderI2cTransferResult

Provides information about whether the data transfers that the ReadPartial, WritePartial, or WriteReadPartial method performed succeeded, and the actual number of bytes the method transferred.

Interfaces

II2cControllerProvider

Represents properties and methods common to all I2 C controllers.

II2cDeviceProvider

Represents methods common to all I2 C device providers.

II2cProvider

Represents actions common to all I2 C providers.

Enums

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

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

Describes whether the data transfers that the ReadPartial, WritePartial, or WriteReadPartial method performed succeeded, or provides the reason that the transfers did not succeed.