C# 클래스 SharpOS.Kernel.DeviceSystem.SerialDevice

상속: SharpOS.Kernel.DeviceSystem.HardwareDevice, IIRQCallBack, ISerialDevice
파일 보기 프로젝트 열기: sharpos/SharpOS

보호된 프로퍼티들

프로퍼티 타입 설명
DLLBase IReadWriteIOPort
DLMBase IReadWriteIOPort
FCRBase IWriteOnlyIOPort
IERBase IReadWriteIOPort
IIRBase IReadOnlyIOPort
LCRBase IReadWriteIOPort
LSRBase IReadWriteIOPort
MCRBase IReadWriteIOPort
MSRBase IReadWriteIOPort
RBRBase IReadOnlyIOPort
SCRBase IReadWriteIOPort
THRBase IWriteOnlyIOPort
fifoBuffer byte[]
fifoEnd uint
fifoStart uint
ioBase ushort
serialIRQ IRQHandler
spinLock SharpOS.Kernel.ADC.SpinLock

공개 메소드들

메소드 설명
DisableDataReceivedInterrupt ( ) : void
EnableDataReceivedInterrupt ( ) : void
Initialize ( ) : void
OnInterrupt ( uint irq ) : bool
ReadByte ( ) : int
SerialDevice ( ) : System
SerialDevice ( ushort ioBase, byte irq ) : System
Write ( byte ch ) : void

보호된 메소드들

메소드 설명
AddToFIFO ( byte value ) : void
CanRead ( ) : bool
CanTransmit ( ) : bool
GetFromFIFO ( ) : byte
IsFIFODataAvailable ( ) : bool
IsFIFOFull ( ) : bool
ReadSerial ( ) : void

메소드 상세

AddToFIFO() 보호된 메소드

protected AddToFIFO ( byte value ) : void
value byte
리턴 void

CanRead() 보호된 메소드

protected CanRead ( ) : bool
리턴 bool

CanTransmit() 보호된 메소드

protected CanTransmit ( ) : bool
리턴 bool

DisableDataReceivedInterrupt() 공개 메소드

public DisableDataReceivedInterrupt ( ) : void
리턴 void

EnableDataReceivedInterrupt() 공개 메소드

public EnableDataReceivedInterrupt ( ) : void
리턴 void

GetFromFIFO() 보호된 메소드

protected GetFromFIFO ( ) : byte
리턴 byte

Initialize() 공개 메소드

public Initialize ( ) : void
리턴 void

IsFIFODataAvailable() 보호된 메소드

protected IsFIFODataAvailable ( ) : bool
리턴 bool

IsFIFOFull() 보호된 메소드

protected IsFIFOFull ( ) : bool
리턴 bool

OnInterrupt() 공개 메소드

public OnInterrupt ( uint irq ) : bool
irq uint
리턴 bool

ReadByte() 공개 메소드

public ReadByte ( ) : int
리턴 int

ReadSerial() 보호된 메소드

protected ReadSerial ( ) : void
리턴 void

SerialDevice() 공개 메소드

public SerialDevice ( ) : System
리턴 System

SerialDevice() 공개 메소드

public SerialDevice ( ushort ioBase, byte irq ) : System
ioBase ushort
irq byte
리턴 System

Write() 공개 메소드

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

프로퍼티 상세

DLLBase 보호되어 있는 프로퍼티

protected IReadWriteIOPort DLLBase
리턴 IReadWriteIOPort

DLMBase 보호되어 있는 프로퍼티

protected IReadWriteIOPort DLMBase
리턴 IReadWriteIOPort

FCRBase 보호되어 있는 프로퍼티

protected IWriteOnlyIOPort FCRBase
리턴 IWriteOnlyIOPort

IERBase 보호되어 있는 프로퍼티

protected IReadWriteIOPort IERBase
리턴 IReadWriteIOPort

IIRBase 보호되어 있는 프로퍼티

protected IReadOnlyIOPort IIRBase
리턴 IReadOnlyIOPort

LCRBase 보호되어 있는 프로퍼티

protected IReadWriteIOPort LCRBase
리턴 IReadWriteIOPort

LSRBase 보호되어 있는 프로퍼티

protected IReadWriteIOPort LSRBase
리턴 IReadWriteIOPort

MCRBase 보호되어 있는 프로퍼티

protected IReadWriteIOPort MCRBase
리턴 IReadWriteIOPort

MSRBase 보호되어 있는 프로퍼티

protected IReadWriteIOPort MSRBase
리턴 IReadWriteIOPort

RBRBase 보호되어 있는 프로퍼티

protected IReadOnlyIOPort RBRBase
리턴 IReadOnlyIOPort

SCRBase 보호되어 있는 프로퍼티

protected IReadWriteIOPort SCRBase
리턴 IReadWriteIOPort

THRBase 보호되어 있는 프로퍼티

protected IWriteOnlyIOPort THRBase
리턴 IWriteOnlyIOPort

fifoBuffer 보호되어 있는 프로퍼티

protected byte[] fifoBuffer
리턴 byte[]

fifoEnd 보호되어 있는 프로퍼티

protected uint fifoEnd
리턴 uint

fifoStart 보호되어 있는 프로퍼티

protected uint fifoStart
리턴 uint

ioBase 보호되어 있는 프로퍼티

protected ushort ioBase
리턴 ushort

serialIRQ 보호되어 있는 프로퍼티

protected IRQHandler serialIRQ
리턴 IRQHandler

spinLock 보호되어 있는 프로퍼티

protected SpinLock,SharpOS.Kernel.ADC spinLock
리턴 SharpOS.Kernel.ADC.SpinLock