Function esp_idf_svc::hal::sys::twai_driver_uninstall_v2

source ยท
pub unsafe extern "C" fn twai_driver_uninstall_v2(
    handle: *mut twai_obj_t,
) -> i32
Expand description

@brief Uninstall the TWAI driver with a given handle

@note This is an advanced version of twai_driver_uninstall that can uninstall a TWAI driver with a given handle. Please refer to the documentation of twai_driver_uninstall for more details.

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

@return - ESP_OK: Successfully uninstalled TWAI driver - ESP_ERR_INVALID_STATE: Driver is not in stopped/bus-off state, or is not installed