rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Loading...
Searching...
No Matches
can_selftest_t Struct Reference

Data Fields

uint32_t sent
uint32_t echoed
uint32_t timed_out
uint32_t corrupt
uint32_t stale
uint16_t seq
uint16_t outstanding
bool waiting
uint32_t sent_ms
uint32_t timeout_ms
uint32_t rtt_min_us
uint32_t rtt_max_us
uint32_t bus_errors

Field Documentation

◆ bus_errors

uint32_t can_selftest_t::bus_errors

Bus errors counted by the local controller, filled in by the caller before asking for a verdict. This is what separates a wire fault (LOSSY) from a software one (DROPPED). Left at zero, loss is reported as DROPPED.

◆ corrupt

uint32_t can_selftest_t::corrupt

came back wrong: the worst of the three

◆ echoed

uint32_t can_selftest_t::echoed

came back, and correct

◆ outstanding

uint16_t can_selftest_t::outstanding

the one being waited for

◆ seq

uint16_t can_selftest_t::seq

next sequence number to send

◆ stale

uint32_t can_selftest_t::stale

an echo of something not outstanding


The documentation for this struct was generated from the following file: