C# 클래스 STBootLib.STBoot

상속: IDisposable
파일 보기 프로젝트 열기: MightyDevices/STBootLib 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
ProductID ushort
Version string

공개 메소드들

메소드 설명
Close ( ) : void
Dispose ( ) : void
ErasePage ( uint pageNumber ) : Task
GlobalErase ( ) : Task
Initialize ( ) : Task
Jump ( uint address ) : Task
Open ( string portName, uint baudRate ) : void
ReadMemory ( uint address, byte buf, int offset, int size, IProgress p, CancellationToken ct ) : Task
STBoot ( ) : System
Unprotect ( ) : Task
WriteMemory ( uint address, byte buf, int offset, int size, IProgress p, CancellationToken ct ) : Task

비공개 메소드들

메소드 설명
ComputeChecksum ( byte data, int offset, int count ) : byte
Erase ( uint pageNumber ) : Task
EraseSpecial ( STEraseMode mode ) : Task
ExtendedErase ( uint pageNumber ) : Task
ExtendedEraseSpecial ( STExtendedEraseMode mode ) : Task
Get ( ) : Task
GetID ( ) : Task
Go ( uint address ) : Task
Init ( ) : Task
Read ( uint address, byte buf, int offset, int length ) : Task
ReadUnprotect ( ) : Task
SerialRead ( byte data, int offset, int count ) : Task
SerialRead ( byte data, int offset, int count, int timeout ) : Task
SerialWrite ( byte data, int offset, int count ) : Task
Write ( uint address, byte data, int offset, int length ) : Task
WriteUnprotect ( ) : Task

메소드 상세

Close() 공개 메소드

public Close ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

ErasePage() 공개 메소드

public ErasePage ( uint pageNumber ) : Task
pageNumber uint
리턴 Task

GlobalErase() 공개 메소드

public GlobalErase ( ) : Task
리턴 Task

Initialize() 공개 메소드

public Initialize ( ) : Task
리턴 Task

Jump() 공개 메소드

public Jump ( uint address ) : Task
address uint
리턴 Task

Open() 공개 메소드

public Open ( string portName, uint baudRate ) : void
portName string
baudRate uint
리턴 void

ReadMemory() 공개 메소드

public ReadMemory ( uint address, byte buf, int offset, int size, IProgress p, CancellationToken ct ) : Task
address uint
buf byte
offset int
size int
p IProgress
ct System.Threading.CancellationToken
리턴 Task

STBoot() 공개 메소드

public STBoot ( ) : System
리턴 System

Unprotect() 공개 메소드

public Unprotect ( ) : Task
리턴 Task

WriteMemory() 공개 메소드

public WriteMemory ( uint address, byte buf, int offset, int size, IProgress p, CancellationToken ct ) : Task
address uint
buf byte
offset int
size int
p IProgress
ct System.Threading.CancellationToken
리턴 Task

프로퍼티 상세

ProductID 공개적으로 프로퍼티

public ushort ProductID
리턴 ushort

Version 공개적으로 프로퍼티

public string Version
리턴 string