|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The link counters of both ends, and the round-trip statistics. More...
#include <link_bringup.h>
Data Fields | |
| uint32_t | polls |
| uint32_t | replies |
| uint32_t | timeouts |
| uint32_t | mismatches |
| uint32_t | nacks |
| uint32_t | rx_crc_errors |
| uint32_t | rx_resyncs |
| bool | have_status |
| uint32_t | dev_frames |
| uint32_t | dev_crc_errors |
| The IOmcu's CAN receive error counter (REC, 0 to 255) at the status read: it rises with bad frames and falls with good ones, a level rather than a count. | |
| uint32_t | dev_resyncs |
| The IOmcu's CAN transmit error counter (TEC, 0 to 255), a level as dev_crc_errors. | |
| bool | have_refused |
| The last status read carried LINK_ST_REFUSED_LO and _HI: protocol 4.21 and later. | |
| uint32_t | dev_refused |
| CAN frames it refused to decode since its power-up, modulo 2^32; 0 while have_refused is false. | |
| bool | have_identity |
| uint16_t | proto_major |
| uint16_t | proto_minor |
| uint32_t | rt_samples |
| uint32_t | rt_min_us |
| uint32_t | rt_max_us |
| uint32_t | rt_mean_us |
The link counters of both ends, and the round-trip statistics.
| uint32_t link_bringup_t::dev_frames |
requests it decoded
| uint32_t link_bringup_t::mismatches |
answers to questions nobody is still asking
| uint32_t link_bringup_t::rx_crc_errors |
frames this end received corrupt; 0 on CAN