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

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

Public Methods

Method Description
CreateInterfaceAsync ( string deviceId, Windows.Devices connectionSettings ) : Task
Read ( byte buffer ) : void
SpiDevice ( Windows.Devices device ) : System
Write ( byte buffer ) : void
WriteAndRead ( byte writeBuffer, byte readBuffer ) : 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

Read() public method

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

SpiDevice() public method

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

Write() public method

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

WriteAndRead() public method

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

WriteThenRead() public method

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