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

Inheritance: SocketInterfaces.I2cDevice
Afficher le fichier Open project: amykatenicho/IoTWorkshop

Méthodes publiques

Méthode 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 méthode

public static CreateInterfaceAsync ( string deviceId, Windows.Devices connectionSettings ) : Task
deviceId string
connectionSettings Windows.Devices
Résultat Task

I2cDevice() public méthode

public I2cDevice ( Windows.Devices device ) : System
device Windows.Devices
Résultat System

Read() public méthode

public Read ( byte buffer ) : void
buffer byte
Résultat void

Write() public méthode

public Write ( byte buffer ) : void
buffer byte
Résultat void

WriteThenRead() public méthode

public WriteThenRead ( byte writeBuffer, byte readBuffer ) : void
writeBuffer byte
readBuffer byte
Résultat void