C# 클래스 GHIElectronics.UAP.Gadgeteer.NativeInterfaces.SpiDevice

상속: SocketInterfaces.SpiDevice
파일 보기 프로젝트 열기: amykatenicho/IoTWorkshop

공개 메소드들

메소드 설명
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

메소드 상세

CreateInterfaceAsync() 공개 정적인 메소드

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

Read() 공개 메소드

public Read ( byte buffer ) : void
buffer byte
리턴 void

SpiDevice() 공개 메소드

public SpiDevice ( Windows.Devices device ) : System
device Windows.Devices
리턴 System

Write() 공개 메소드

public Write ( byte buffer ) : void
buffer byte
리턴 void

WriteAndRead() 공개 메소드

public WriteAndRead ( byte writeBuffer, byte readBuffer ) : void
writeBuffer byte
readBuffer byte
리턴 void

WriteThenRead() 공개 메소드

public WriteThenRead ( byte writeBuffer, byte readBuffer ) : void
writeBuffer byte
readBuffer byte
리턴 void