tportw

[Properties (by Name)][Methods (by Name)][Events (by Name)]

Type implemented to support word-sized port access

Declaration

Source position: portsh.inc line 45

Type
  tportw = object
  private
    procedure writeport(p: Word; data: Word);
    function readport(p: Word) : Word;
  public
    pp[w: Word]: Word; default;
  end
  ;

Description

The TPortW 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 word-sized port by port number
readport Method private Reads a word of data from a port
writeport Method private Writes a word of data to a port

Inheritance

Class Description
tportw Type implemented to support word-sized port access

See also

Name Description
portw Provide port access per word
TPort Type implemented to support integer-sized port access
TPortL Type implemented to support Longint-sized port access
Word An unsigned 16-bits integer

results matching ""

    No results matching ""