pwm_config_set_clkdiv_int_frac() function
Set PWM clock divider in a PWM configuration using an 8:4 fractional value If the divide mode is free-running, the PWM counter runs at clk_sys / div. Otherwise, the divider reduces the rate of events seen on the B pin input (level or edge) before passing them on to the PWM counter.
Arguments
c
PWM configuration struct to modify
integer
8 bit integer part of the clock divider. Must be greater than or equal to 1.
fract
4 bit fractional part of the clock divider