pub unsafe extern "C" fn ledc_get_hpoint(
    speed_mode: ledc_mode_t,
    channel: ledc_channel_t
) -> c_int
Expand description

@brief LEDC get hpoint value, the counter value when the output is set high level.

@param speed_mode Select the LEDC channel group with specified speed mode. Note that not all targets support high speed mode. @param channel LEDC channel (0 - LEDC_CHANNEL_MAX-1), select from ledc_channel_t @return - LEDC_ERR_VAL if parameter error - Others Current hpoint value of LEDC channel