[Overview][Resource strings][Constants][Types][Classes][Procedures and functions][Index] Reference for unit 'fpgpio' (#pascalio)

TGpioPin

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

Abstract GPIO class

Declaration

Source position: fpgpio.pas.bak line 89

type TGpioPin = class(TObject)

protected

  function GetActiveLow; virtual; abstract;

  procedure SetActiveLow(); virtual; abstract;

  function GetDirection; virtual; abstract;

  function GetInterruptMode; virtual; abstract;

  function GetValue; virtual; abstract;

  procedure SetDirection(); virtual; abstract;

  procedure SetInterruptMode(); virtual; abstract;

  procedure SetValue(); virtual; abstract;

public

  function WaitForInterrupt();

  

Waits for interrupt

  function WaitForInterruptIndirect(); virtual;

  

Waits for indirect interrupt

  function PollChange();

  

Polls GPIO pin for change

  property Direction: TGpioDirection; [rw]

  

Configure pin as Input or as Output

  property Value: Boolean; [rw]

  

Value of GPIO pin

  property InterruptMode: TGpioInterruptMode; [rw]

  

Interrupt mode

  property ActiveLow: Boolean; [rw]

end;

Inheritance

TGpioPin

  

Abstract GPIO class

|

TObject


Documentation generated on: 2020-05-22