pwmgencontinuous