Function esp_idf_sys::rmt_set_source_clk
source ยท pub unsafe extern "C" fn rmt_set_source_clk(
channel: rmt_channel_t,
base_clk: rmt_source_clk_t,
) -> esp_err_t
Expand description
@brief Set RMT source clock
RMT module has two clock sources:
1. APB clock which is 80Mhz
2. REF tick clock, which would be 1Mhz (not supported in this version).
@param channel RMT channel @param base_clk To choose source clock for RMT module.
@return - ESP_ERR_INVALID_ARG Parameter error - ESP_OK Success