esp_clock_output_start() function
Start output specified clock signal to specified GPIO, will also initialize the clkout_mapping_ret_hdl.
Arguments
gpio_num
GPIO number to be mapped soc_root_clk signal source
clkout_mapping_ret_hdl
Clock output control handler
Return value
- ESP_OK: Output specified clock signal to specified GPIO successfully - ESP_ERR_INVALID_ARG: Specified GPIO not supported to output internal clock or specified GPIO is already mapped to other internal clock source. - ESP_FAIL: There are no clock out signals that can be allocated.