[Overview][Types][Classes][Index] Reference for unit 'fppwm' (#pascalio)

TPWM

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

Abstract PWM access class

Declaration

Source position: fppwm.pas line 50

type TPWM = class(TObject)

strict protected

  function GetDutyCycle; virtual; abstract;

  function GetEnabled; virtual; abstract;

  function GetPeriod; virtual; abstract;

  function GetPolarity; virtual; abstract;

  procedure SetDutyCycle(); virtual; abstract;

  procedure SetEnabled(); virtual; abstract;

  procedure SetPeriod(); virtual; abstract;

  procedure SetPolarity(); virtual; abstract;

public

  property Period: LongWord; [rw]

  

Base freuency of PWM generator in nanoseconds

  property DutyCycle: LongWord; [rw]

  

Active time of PWM in nanoseconds

  property Polarity: TPWMPolarity; [rw]

  

Polarity of the PWM

  property Enabled: Boolean; [rw]

  

Enable and disable the PWM

end;

Inheritance

TPWM

  

Abstract PWM access class

|

TObject


Documentation generated on: 2020-05-22