Home
last modified time | relevance | path

Searched refs:status_info (Results 1 – 4 of 4) sorted by relevance

/hal_espressif-3.6.0/components/driver/
Dtwai.c664 esp_err_t twai_get_status_info(twai_status_info_t *status_info) in twai_get_status_info() argument
668 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 …]
/hal_espressif-3.6.0/examples/peripherals/twai/twai_network/twai_network_slave/main/
Dtwai_network_example_slave_main.c205 twai_status_info_t status_info; in twai_control_task() local
206 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()
/hal_espressif-3.6.0/components/driver/include/driver/
Dcan.h60 #define can_get_status_info(status_info) twai_get_status_info(status_info) argument
Dtwai.h311 esp_err_t twai_get_status_info(twai_status_info_t *status_info);