Lines Matching refs:ESP_ERR_INVALID_STATE
412 TWAI_CHECK_FROM_CRIT(p_twai_obj == NULL, ESP_ERR_INVALID_STATE); in twai_driver_install()
434 ret = ESP_ERR_INVALID_STATE; in twai_driver_install()
465 TWAI_CHECK_FROM_CRIT(p_twai_obj != NULL, ESP_ERR_INVALID_STATE); in twai_driver_uninstall()
466 …bj->state == TWAI_STATE_STOPPED || p_twai_obj->state == TWAI_STATE_BUS_OFF, ESP_ERR_INVALID_STATE); in twai_driver_uninstall()
489 TWAI_CHECK_FROM_CRIT(p_twai_obj != NULL, ESP_ERR_INVALID_STATE); in twai_start()
490 TWAI_CHECK_FROM_CRIT(p_twai_obj->state == TWAI_STATE_STOPPED, ESP_ERR_INVALID_STATE); in twai_start()
510 TWAI_CHECK_FROM_CRIT(p_twai_obj != NULL, ESP_ERR_INVALID_STATE); in twai_stop()
511 TWAI_CHECK_FROM_CRIT(p_twai_obj->state == TWAI_STATE_RUNNING, ESP_ERR_INVALID_STATE); in twai_stop()
530 TWAI_CHECK(p_twai_obj != NULL, ESP_ERR_INVALID_STATE); in twai_transmit()
537 TWAI_CHECK_FROM_CRIT(p_twai_obj->state == TWAI_STATE_RUNNING, ESP_ERR_INVALID_STATE); in twai_transmit()
563 ret = ESP_ERR_INVALID_STATE; in twai_transmit()
590 TWAI_CHECK(p_twai_obj != NULL, ESP_ERR_INVALID_STATE); in twai_receive()
611 TWAI_CHECK(p_twai_obj != NULL, ESP_ERR_INVALID_STATE); in twai_read_alerts()
629 TWAI_CHECK(p_twai_obj != NULL, ESP_ERR_INVALID_STATE); in twai_reconfigure_alerts()
647 TWAI_CHECK_FROM_CRIT(p_twai_obj != NULL, ESP_ERR_INVALID_STATE); in twai_initiate_recovery()
648 TWAI_CHECK_FROM_CRIT(p_twai_obj->state == TWAI_STATE_BUS_OFF, ESP_ERR_INVALID_STATE); in twai_initiate_recovery()
667 TWAI_CHECK(p_twai_obj != NULL, ESP_ERR_INVALID_STATE); in twai_get_status_info()
689 TWAI_CHECK(p_twai_obj != NULL, ESP_ERR_INVALID_STATE); in twai_clear_transmit_queue()
704 TWAI_CHECK(p_twai_obj != NULL, ESP_ERR_INVALID_STATE); in twai_clear_receive_queue()