Searched refs:status_info (Results 1 – 4 of 4) sorted by relevance
664 esp_err_t twai_get_status_info(twai_status_info_t *status_info) in twai_get_status_info() argument668 TWAI_CHECK(status_info != NULL, ESP_ERR_INVALID_ARG); in twai_get_status_info()671 status_info->tx_error_counter = twai_hal_get_tec(&twai_context); in twai_get_status_info()672 status_info->rx_error_counter = twai_hal_get_rec(&twai_context); in twai_get_status_info()673 status_info->msgs_to_tx = p_twai_obj->tx_msg_count; in twai_get_status_info()674 status_info->msgs_to_rx = p_twai_obj->rx_msg_count; in twai_get_status_info()675 status_info->tx_failed_count = p_twai_obj->tx_failed_count; in twai_get_status_info()676 status_info->rx_missed_count = p_twai_obj->rx_missed_count; in twai_get_status_info()677 status_info->rx_overrun_count = p_twai_obj->rx_overrun_count; in twai_get_status_info()678 status_info->arb_lost_count = p_twai_obj->arb_lost_count; in twai_get_status_info()[all …]
205 twai_status_info_t status_info; in twai_control_task() local206 twai_get_status_info(&status_info); in twai_control_task()207 while (status_info.msgs_to_tx > 0) { in twai_control_task()209 twai_get_status_info(&status_info); in twai_control_task()
60 #define can_get_status_info(status_info) twai_get_status_info(status_info) argument
311 esp_err_t twai_get_status_info(twai_status_info_t *status_info);