|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
#include <busfault_screen.h>
Data Fields | |
| busfault_kind_t | kind |
| can_selftest_verdict_t | verdict |
| uint32_t | sent |
| uint32_t | echoed |
| uint32_t | corrupt |
| uint32_t | lost |
| uint32_t | tx_errors |
| uint32_t | rx_errors |
| uint32_t | bus_errors |
| bool | bus_off |
| busfault_bus_t | bus |
| uint32_t | down_s |
| uint32_t | recoveries |
| uint32_t | polls |
| uint32_t | timeouts |
| bool | have_remote |
| bool | remote_up |
| uint8_t | remote_tx_errors |
| uint8_t | remote_rx_errors |
| uint8_t | remote_flags |
| uint16_t | remote_overflows |
What the start-up test found, as the screen needs it.
Both ends, because the pair is what separates the faults: frames the far end answered and this end never heard are a return-path fault, and frames it never answered are an outbound one.
| busfault_bus_t busfault_report_t::bus |
what this panel's controller is doing
| uint32_t busfault_report_t::down_s |
seconds since the link last answered
| bool busfault_report_t::have_remote |
the IOmcu answered a status request
| uint32_t busfault_report_t::polls |
requests this panel has sent
| uint32_t busfault_report_t::recoveries |
times the bus has been asked back
| bool busfault_report_t::remote_up |
and said its own controller came up
| uint32_t busfault_report_t::timeouts |
and how many got no answer
| uint32_t busfault_report_t::tx_errors |
the panel's controller