Can pwm module control output fixed number of pulses

HI nvidia:
can pwm module control output fixed number of pulses?

Hi,

What kind of “fixed number of pulses” is that? If we just set a fixed duty cycle, does this meet your requirement too?

for example, I want to out 20HZ pulse oneshot, not need to call disable_pwm api

please use sysfs to configure it.

https://www.kernel.org/doc/Documentation/pwm.txt

I means can pwm stop without disable it, like oneshot mode

oh. No, no such function.