C# Class Mosa.Kernel.x86.Serial

Serial Controller
Mostrar archivo Open project: tgiphil/MOSA-Project

Public Methods

Method Description
IsDataReady ( ushort com ) : bool
Read ( ushort com ) : byte
SetupPort ( ushort com ) : void
WaitForWriteReady ( ushort com ) : void
Write ( ushort com, byte c ) : void
Write ( ushort com, string message ) : void

Method Details

IsDataReady() public static method

public static IsDataReady ( ushort com ) : bool
com ushort
return bool

Read() public static method

public static Read ( ushort com ) : byte
com ushort
return byte

SetupPort() public static method

public static SetupPort ( ushort com ) : void
com ushort
return void

WaitForWriteReady() public static method

public static WaitForWriteReady ( ushort com ) : void
com ushort
return void

Write() public static method

public static Write ( ushort com, byte c ) : void
com ushort
c byte
return void

Write() public static method

public static Write ( ushort com, string message ) : void
com ushort
message string
return void