Class IOPortRead
IOPortRead class. Used to read to IO port. See also: IOPortBase.
Inherited Members
Namespace: Cosmos.Core
Assembly: Cosmos.Core.dll
Syntax
public class IOPortRead : IOPortBase
Constructors
| Improve this Doc View SourceIOPortRead(UInt16)
Create new instance of IOPortRead class.
Declaration
public IOPortRead(ushort aPort)
Parameters
Type | Name | Description |
---|---|---|
System.UInt16 | aPort | A port. |
IOPortRead(UInt16, UInt16)
Create new instance of IOPortRead class.
Declaration
public IOPortRead(ushort aBase, ushort aOffset)
Parameters
Type | Name | Description |
---|---|---|
System.UInt16 | aBase | A base port address. |
System.UInt16 | aOffset | Offset of the base port. |
Properties
| Improve this Doc View SourceByte
Read byte to the port.
Declaration
public byte Byte { get; }
Property Value
Type | Description |
---|---|
System.Byte |
DWord
Read DWord to the port.
Declaration
public uint DWord { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
Word
Read Word to the port.
Declaration
public ushort Word { get; }
Property Value
Type | Description |
---|---|
System.UInt16 |