pwm_set_clkdiv() function
Set PWM clock divider Set the clock divider. Counter increment will be on sysclock divided by this value, taking into account the gating.
Arguments
slice_num
PWM slice number
divider
Floating point clock divider, 1.f <= value < 256.f