ledc_get_hpoint() function
LEDC get hpoint value, the counter value when the output is set high level.
Arguments
speed_mode
Select the LEDC channel group with specified speed mode. Note that not all targets support high speed mode.
channel
LEDC channel (0 - LEDC_CHANNEL_MAX-1), select from ledc_channel_t
Return value
- LEDC_ERR_VAL if parameter error - Others Current hpoint value of LEDC channel