[][src]Function esp_idf_sys::can_start

pub unsafe extern "C" fn can_start() -> esp_err_t

@brief Start the CAN driver

This function starts the CAN driver, putting the CAN driver into the running state. This allows the CAN driver to participate in CAN bus activities such as transmitting/receiving messages. The RX queue is reset in this function, clearing any unread messages. This function can only be called when the CAN driver is in the stopped state.

@return - ESP_OK: CAN driver is now running - ESP_ERR_INVALID_STATE: Driver is not in stopped state, or is not installed