[][src]Function esp_idf_sys::rmt_get_source_clk

pub unsafe extern "C" fn rmt_get_source_clk(
    channel: rmt_channel_t,
    src_clk: *mut rmt_source_clk_t
) -> esp_err_t

@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 (0-7) @param src_clk Pointer to accept source clock for RMT module.

@return - ESP_ERR_INVALID_ARG Parameter error - ESP_OK Success