Function esp_idf_sys::rmt_encoder_reset
source ยท pub unsafe extern "C" fn rmt_encoder_reset(
encoder: rmt_encoder_handle_t,
) -> esp_err_t
Expand description
@brief Reset RMT encoder
@param[in] encoder RMT encoder handle, created by e.g rmt_new_bytes_encoder()
@return
- ESP_OK: Reset RMT encoder successfully
- ESP_ERR_INVALID_ARG: Reset RMT encoder failed because of invalid argument
- ESP_FAIL: Reset RMT encoder failed because of other error