Class IOPort
IOPort class. Used to read and write to IO port.
Inherited Members
Namespace: Cosmos.Core
Assembly: Cosmos.Core.dll
Syntax
public class IOPort : IOPortBase
Constructors
| Improve this Doc View SourceIOPort(UInt16)
Create new instance of the IOPort class.
Declaration
public IOPort(ushort aPort)
Parameters
Type | Name | Description |
---|---|---|
System.UInt16 | aPort | A port. |
IOPort(UInt16, UInt16)
Create new instance of the IOPort class.
Declaration
public IOPort(ushort aBase, ushort aOffset)
Parameters
Type | Name | Description |
---|---|---|
System.UInt16 | aBase | A base port. |
System.UInt16 | aOffset | Offset from the base port. |
Properties
| Improve this Doc View SourceByte
Get and set Byte value in IO port.
Declaration
public byte Byte { get; set; }
Property Value
Type | Description |
---|---|
System.Byte |
DWord
Get and set DWord value in IO port.
Declaration
public uint DWord { get; set; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Word
Get and set Word value in IO port.
Declaration
public ushort Word { get; set; }
Property Value
Type | Description |
---|---|
System.UInt16 |
Methods
| Improve this Doc View SourceWait()
Wait for the previous IO read/write to complete.
Declaration
public static void Wait()