@@ -56,9 +56,8 @@ extern "C" {
56
56
// Setting autoPwm to true allows the wave generator to maintain PWM duty to idle cycle ratio
57
57
// under load, for applications where frequency or duty cycle must not change, leave false.
58
58
// Returns true or false on success or failure.
59
- int startWaveform(uint8_t pin, uint32_t timeHighUS, uint32_t timeLowUS, uint32_t runTimeUS = 0,
60
- // Following parameters are ignored unless in PhaseLocked mode
61
- int8_t alignPhase = -1, uint32_t phaseOffsetUS = 0, bool autoPwm = false);
59
+ int startWaveform(uint8_t pin, uint32_t timeHighUS, uint32_t timeLowUS,
60
+ uint32_t runTimeUS = 0, int8_t alignPhase = -1, uint32_t phaseOffsetUS = 0, bool autoPwm = false);
62
61
63
62
// Start or change a waveform of the specified high and low CPU clock cycles on specific pin.
64
63
// If runtimeCycles > 0 then automatically stop it after that many CPU clock cycles, relative to the next
@@ -68,9 +67,8 @@ int startWaveform(uint8_t pin, uint32_t timeHighUS, uint32_t timeLowUS, uint32_t
68
67
// Setting autoPwm to true allows the wave generator to maintain PWM duty to idle cycle ratio
69
68
// under load, for applications where frequency or duty cycle must not change, leave false.
70
69
// Returns true or false on success or failure.
71
- int startWaveformClockCycles(uint8_t pin, uint32_t timeHighCcys, uint32_t timeLowCcys, uint32_t runTimeCcys = 0,
72
- // Following parameters are ignored unless in PhaseLocked mode
73
- int8_t alignPhase = -1, uint32_t phaseOffsetCcys = 0, bool autoPwm = false);
70
+ int startWaveformClockCycles(uint8_t pin, uint32_t timeHighCcys, uint32_t timeLowCcys,
71
+ uint32_t runTimeCcys = 0, int8_t alignPhase = -1, uint32_t phaseOffsetCcys = 0, bool autoPwm = false);
74
72
75
73
// Stop a waveform, if any, on the specified pin.
76
74
// Returns true or false on success or failure.
0 commit comments