Function esp_idf_svc::sys::rmt_get_source_clk
source ยท pub unsafe extern "C" fn rmt_get_source_clk(
channel: u32,
src_clk: *mut u32,
) -> i32
Expand description
@brief Get 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 src_clk Pointer to accept source clock for RMT module.
@return - ESP_ERR_INVALID_ARG Parameter error - ESP_OK Success