Function esp_idf_sys::twai_initiate_recovery_v2

source ยท
pub unsafe extern "C" fn twai_initiate_recovery_v2(
    handle: twai_handle_t,
) -> esp_err_t
Expand description

@brief Start the bus recovery process with a given handle

@note This is an advanced version of twai_initiate_recovery that can start the bus recovery process with a given handle. Please refer to the documentation of twai_initiate_recovery for more details.

@param[in] handle TWAI driver handle returned by twai_driver_install_v2

@return - ESP_OK: Bus recovery started - ESP_ERR_INVALID_STATE: TWAI driver is not in the bus-off state, or is not installed