io_mux_set_clock_source() function
Set the clock source for IO MUX
Arguments
clk_src
The clock source for IO MUX
Return value
- ESP_OK: Success - ESP_ERR_INVALID_STATE: The IO MUX has been set to another clock source
Notes
IO MUX clock is shared by submodules like SDM, Glitch Filter. The submodule drivers should call this function to detect if the user set the clock differently.
io_mux_set_clock_source() is called by 1 function:
![]()
io_mux_set_clock_source()