C# 클래스 CCManager.Serial

Methods to handle low-level communication between the computer and the MCU
파일 보기 프로젝트 열기: jglim/CCManager

공개 메소드들

메소드 설명
Delay ( SerialPort sp, byte delayTime ) : bool
DeselectRf ( SerialPort sp ) : bool
GetBridgeSignature ( SerialPort sp ) : string
ResetRf ( SerialPort sp ) : bool
SPITransfer ( SerialPort sp, byte dataToTransfer ) : bool
SelectRf ( SerialPort sp ) : bool
WaitMISO ( SerialPort sp ) : bool

비공개 메소드들

메소드 설명
StringifyByteWithPadding ( byte inputByte ) : string

메소드 상세

Delay() 공개 정적인 메소드

public static Delay ( SerialPort sp, byte delayTime ) : bool
sp System.IO.Ports.SerialPort
delayTime byte
리턴 bool

DeselectRf() 공개 정적인 메소드

public static DeselectRf ( SerialPort sp ) : bool
sp System.IO.Ports.SerialPort
리턴 bool

GetBridgeSignature() 공개 정적인 메소드

public static GetBridgeSignature ( SerialPort sp ) : string
sp System.IO.Ports.SerialPort
리턴 string

ResetRf() 공개 정적인 메소드

public static ResetRf ( SerialPort sp ) : bool
sp System.IO.Ports.SerialPort
리턴 bool

SPITransfer() 공개 정적인 메소드

public static SPITransfer ( SerialPort sp, byte dataToTransfer ) : bool
sp System.IO.Ports.SerialPort
dataToTransfer byte
리턴 bool

SelectRf() 공개 정적인 메소드

public static SelectRf ( SerialPort sp ) : bool
sp System.IO.Ports.SerialPort
리턴 bool

WaitMISO() 공개 정적인 메소드

public static WaitMISO ( SerialPort sp ) : bool
sp System.IO.Ports.SerialPort
리턴 bool