rcbench
Servo and ESC test bench: panel, IOmcu and shared C
Toggle main menu visibility
Loading...
Searching...
No Matches
selftest.h
1
/*
2
* The CAN (Controller Area Network) bring-up self-test: the echo run, the
3
* comparison of both ends' counters and the error-counter reading.
4
*
5
* It runs at every start-up, before the bench is usable. The fault it
6
* reports is invisible from every other screen -- a bus that does not carry
7
* frames looks exactly like an IOmcu that is not there, and both look
8
* like a bench that simply shows no numbers -- so the panel says so itself
9
* rather than leaving it to be worked out.
10
*
11
* SPDX-License-Identifier: MIT
12
*/
13
14
#pragma once
15
16
#include <stdbool.h>
17
#include <stdint.h>
18
19
#include "busfault_screen.h"
20
28
bool
can_selftest_run(uint32_t ms,
busfault_report_t
*out);
busfault_report_t
Definition
busfault_screen.h:69
firmware
panel
main
selftest.h
Generated by
1.18.0