Function esp_idf_hal::sys::rmt_new_copy_encoder
source ยท pub unsafe extern "C" fn rmt_new_copy_encoder(
config: *const rmt_copy_encoder_config_t,
ret_encoder: *mut *mut rmt_encoder_t,
) -> i32
Expand description
@brief Create RMT copy encoder, which copies the given RMT symbols into RMT memory
@param[in] config Copy encoder configuration @param[out] ret_encoder Returned encoder handle @return - ESP_OK: Create RMT copy encoder successfully - ESP_ERR_INVALID_ARG: Create RMT copy encoder failed because of invalid argument - ESP_ERR_NO_MEM: Create RMT copy encoder failed because out of memory - ESP_FAIL: Create RMT copy encoder failed because of other error