Fixed number of PWM pulses

Hi,

Is there a way to generate a fixed number of PWM pulses?

I’m using PWMOut API, the board I’m using is the LPC4088

Thank you,
Steve