|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
What core 1 hands back after each step. More...
#include <sense_svc.h>
Data Fields | |
| uint16_t | cfg_gen |
| uint16_t | run_gen |
| uint16_t | cap_gen |
| bool | open |
| bool | stuck |
| uint64_t | held |
| uint16_t | errors |
| uint16_t | present |
| sense_state_t | i228 |
| sense_state_t | i3221 [SENSE_I3221_PARTS] |
| uint16_t | i228_maker |
| uint16_t | i228_device |
| uint16_t | i3221_maker [SENSE_I3221_PARTS] |
| uint16_t | i3221_die [SENSE_I3221_PARTS] |
| uint8_t | fast |
| bool | have_temp |
| bool | have_diag |
| int32_t | temp_mdegc |
| uint16_t | diag |
| bool | have_win |
| sense_window_t | win [SENSE_SRC_COUNT] |
| sense_ring_win_t | ring [SENSE_WIN_RING] |
| FAST's last windows, newest first: entry k is the window numbered k before the number of win[]. | |
| uint8_t | i228_resets |
| uint8_t | i3221_resets [SENSE_I3221_PARTS] |
| Per INA3221: found reset under this set-up, modulo 256. | |
| sense_run_t | run |
| sense_cap_state_t | cap_state |
| uint16_t | cap_seq |
| uint32_t | cap_move_t |
| uint32_t | cap_arrive_t |
| int32_t | cap_peak_ua |
| int32_t | cap_mean_ua |
| uint32_t | cap_samples |
| bool | cap_clipped |
| sense_state_t | enc |
| bool | enc_have_angle |
| uint8_t | enc_status |
| uint8_t | enc_id |
| uint16_t | enc_raw |
| uint16_t | enc_samples |
| uint16_t | enc_still_ms |
| bool | enc_have_mag |
| uint8_t | enc_agc |
| uint16_t | enc_magnitude |
| uint16_t | over_n [SENSE_CHANNELS] |
What core 1 hands back after each step.
| uint32_t sense_snap_t::cap_arrive_t |
0.1ms
| bool sense_snap_t::cap_clipped |
a sample of it read an end of the range
| uint16_t sense_snap_t::cap_gen |
the generations taken
| int32_t sense_snap_t::cap_mean_ua |
the capture's mean current, µA
| uint32_t sense_snap_t::cap_move_t |
0.1ms
| int32_t sense_snap_t::cap_peak_ua |
the capture's peak current, µA
| uint32_t sense_snap_t::cap_samples |
the capture's samples
| uint16_t sense_snap_t::cap_seq |
captures ended, modulo 65536
| sense_cap_state_t sense_snap_t::cap_state |
state of the capture of a FAST move
| uint16_t sense_snap_t::diag |
its DIAG_ALRT as last read
| bool sense_snap_t::enc_have_angle |
enc_raw is a reading of this set-up
| uint8_t sense_snap_t::enc_id |
STATUS at the probe
| uint16_t sense_snap_t::enc_raw |
RAW ANGLE, 0 to 4095
| uint16_t sense_snap_t::enc_samples |
angle reads taken, modulo 65536
| uint8_t sense_snap_t::enc_status |
STATUS as last read
| uint16_t sense_snap_t::enc_still_ms |
held within the tolerance, ms
| uint16_t sense_snap_t::errors |
transactions failed, modulo 65536
| uint8_t sense_snap_t::fast |
the FAST channel in force, or SENSE_FAST_NONE
| bool sense_snap_t::have_diag |
diag holds a reading
| bool sense_snap_t::have_temp |
temp_mdegc holds a reading
| bool sense_snap_t::have_win |
a window has closed
| uint64_t sense_snap_t::held |
the pins the bus holds, a pin mask
| sense_state_t sense_snap_t::i228 |
the INA228's state
| uint16_t sense_snap_t::i228_device |
the INA228's last device ID read
| uint16_t sense_snap_t::i228_maker |
the INA228's last maker ID read
| uint8_t sense_snap_t::i228_resets |
found reset under this set-up, mod 256
| sense_state_t sense_snap_t::i3221[SENSE_I3221_PARTS] |
UNSET when not fitted
| uint16_t sense_snap_t::i3221_die[SENSE_I3221_PARTS] |
each INA3221's last die ID read
| uint16_t sense_snap_t::i3221_maker[SENSE_I3221_PARTS] |
each INA3221's last maker ID read
| bool sense_snap_t::open |
the bus runs on its pins
| uint16_t sense_snap_t::over_n[SENSE_CHANNELS] |
each channel's windows over its limit, modulo 65536, since core 1 started: across set-ups
| uint16_t sense_snap_t::present |
bit n: 0x40 + n answered
| sense_run_t sense_snap_t::run |
the run since arming
| bool sense_snap_t::stuck |
nothing is sent until a recovery
| int32_t sense_snap_t::temp_mdegc |
the INA228's die
| sense_window_t sense_snap_t::win[SENSE_SRC_COUNT] |
the newest window of each source