pwm_set_clkdiv_int_frac() function
Set PWM clock divider using an 8:4 fractional value 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
integer
8 bit integer part of the clock divider
fract
4 bit fractional part of the clock divider