C# Class GHIElectronics.UAP.Gadgeteer.NativeInterfaces.I2cDevice

Inheritance: SocketInterfaces.I2cDevice
Datei anzeigen Open project: amykatenicho/IoTWorkshop

Public Methods

Method Description
CreateInterfaceAsync ( string deviceId, Windows.Devices connectionSettings ) : Task
I2cDevice ( Windows.Devices device ) : System
Read ( byte buffer ) : void
Write ( byte buffer ) : void
WriteThenRead ( byte writeBuffer, byte readBuffer ) : void

Method Details

CreateInterfaceAsync() public static method

public static CreateInterfaceAsync ( string deviceId, Windows.Devices connectionSettings ) : Task
deviceId string
connectionSettings Windows.Devices
return Task

I2cDevice() public method

public I2cDevice ( Windows.Devices device ) : System
device Windows.Devices
return System

Read() public method

public Read ( byte buffer ) : void
buffer byte
return void

Write() public method

public Write ( byte buffer ) : void
buffer byte
return void

WriteThenRead() public method

public WriteThenRead ( byte writeBuffer, byte readBuffer ) : void
writeBuffer byte
readBuffer byte
return void