I2cDevice Members

The following tables list the members exposed by the I2cDevice type.

Public Constructors

Name Description
Public Method I2cDevice Initializes a new instance of the I2cDevice class.

Protected Fields

Name Description
Protected Field _address Contains the address of an emulated device on the current emulated I2C bus.

Public Properties

Name Description
Public Property Address Gets or sets the address of the device attached to the current emulated I2C bus.

Protected Methods

Name Description
Protected Method DeviceBeginTransaction Starts a transaction on the current emulated I2C device.
Protected Method DeviceEndTransaction Completes a transaction on the current emulated I2C device.
Protected Method DeviceRead Reads specified data from the current emulated I2C bus.
Protected Method DeviceWrite Writes specified data to the current emulated I2C bus.

See Also

Reference

I2cDevice Class
Microsoft.SPOT.Emulator.I2c Namespace