[Overview][Types][Classes][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Abstract PWM access class
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; |
|
Abstract PWM access class |
|
| | ||
TObject |