ledc_hal_set_duty_int_part() function
Set LEDC the integer part of duty value
Arguments
hal
Context of the HAL layer
channel_num
LEDC channel index (0-7), select from ledc_channel_t
duty_val
LEDC duty value, the range of duty setting is [0, (2**duty_resolution)]
Return value
None