tportl
[Properties (by Name)][Methods (by Name)][Events (by Name)]
Type implemented to support Longint-sized port access
Declaration
Source position: portsh.inc line 53
Type
tportl = object
private
procedure writeport(p: Word; data: LongInt);
function readport(p: Word) : LongInt;
public
pp[w: Word]: LongInt; default;
end
;
Description
The TPortL type is implemented specially for access to the ports in a TP compatible manner. There is no need to create an instance of this type: the standard TP variables are instantiated at unit initialization.
Members
| Member | Type | Visibility | Description |
|---|---|---|---|
| pp | Property | public | Access Longint-sized port by port number |
| readport | Method | private | Reads a Longint of data from a port |
| writeport | Method | private | Writes a Longint of data to a port |
Inheritance
| Class | Description |
|---|---|
| tportl | Type implemented to support Longint-sized port access |
See also
| Name | Description |
|---|---|
| LongInt | A signed 32-bits integer |
| portw | Provide port access per word |
| TPort | Type implemented to support integer-sized port access |
| TPortL | Type implemented to support Longint-sized port access |