Function esp_idf_svc::hal::sys::rmt_encoder_reset
source ยท pub unsafe extern "C" fn rmt_encoder_reset(
encoder: *mut rmt_encoder_t,
) -> i32
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