Udostępnij za pośrednictwem


Windows.Devices.I2c Namespace

Contains types that you can use to communicate with peripheral devices connected through a inter-integrated circuit (I2 C) bus from an application.

Note

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

Classes

I2cConnectionSettings

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

I2cController

Represents the I2 C controller for the system.

I2cDevice

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

Structs

I2cTransferResult

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

II2cDeviceStatics

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

Enums

I2cBusSpeed

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.

I2cSharingMode

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.

I2cTransferStatus

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

See also