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