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

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

Méthodes publiques

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

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

Read() public méthode

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

SpiDevice() public méthode

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

Write() public méthode

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

WriteAndRead() public méthode

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

WriteThenRead() public méthode

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