CalculatePwmDutyCycle¶
ID: Calculate/PwmSignal/CalculatePwmDutyCycle
Calculates the duty cycle and period out of a PWM signal.
Note: The definition of the PWM signals is based on the STI standard of the ASAM group.
Signals¶
PwmSignal¶
The PWM signal which should be examined.
Direction: IN
Optional: False
DutyCycle¶
The duty cycle of the given PWM signal.
Direction: OUT
Optional: False
Period¶
The period of the given PWM signal.
Direction: OUT
Optional: False
Parameters¶
offset¶
Offset of the given PWM signal.
None .. offset = 0.0 [Default]
Valid types: int, long, float
Direction: IN
amplitude¶
Amplitude of the given PWM signal.
None .. amplitude = 1.0 [Default]
Valid types: int, long, float
Amplitude must be positive.
Direction: IN