pub unsafe extern "C" fn twai_clear_receive_queue() -> esp_err_t
Expand description

@brief Clear the receive queue

This function will clear the receive queue of all messages.

@note The receive queue is automatically cleared when twai_start() is called.

@return - ESP_OK: Transmit queue cleared - ESP_ERR_INVALID_STATE: TWAI driver is not installed