Function esp_idf_svc::hal::sys::ledc_get_hpoint
source ยท pub unsafe extern "C" fn ledc_get_hpoint(
speed_mode: u32,
channel: u32,
) -> i32
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