ledc_ll_set_duty_int_part() function
Set LEDC the integer part of duty value
Arguments
hw
Beginning address of the peripheral registers
speed_mode
LEDC speed_mode, high-speed mode or low-speed mode
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
ledc_ll_set_duty_int_part() is called by 1 function:
![]()
ledc_ll_set_duty_int_part()
ledc_ll_set_duty_int_part() reads 3 variables and writes 1 variable:
![]()
ledc_ll_set_duty_int_part()