|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The sensor service: its schedule and the command state it acts on. More...
#include <sense_svc.h>
Data Fields | |
| sense_svc_io_t | io |
| bool | started |
| uint16_t | cfg_gen |
| uint16_t | run_gen |
| uint16_t | cap_gen |
| bool | open |
| uint8_t | sda |
| uint8_t | scl |
| bool | edge_given |
| bool | refused |
| uint16_t | refusals |
| uint16_t | seq_base |
| bool | scan_due |
| uint64_t | scan_at_us |
| uint16_t | present |
| bool | lim_have |
| uint16_t | lim_win |
| uint16_t | over_n [SENSE_CHANNELS] |
| uint32_t | setups |
| sense_sched_t | sched |
The sensor service: its schedule and the command state it acts on.
| uint16_t sense_svc_t::cap_gen |
generation of the capture command taken
| uint16_t sense_svc_t::cfg_gen |
generation of the bus's configuration taken
| bool sense_svc_t::edge_given |
cap_gen's edge went to the schedule
| bool sense_svc_t::lim_have |
lim_win is a window judged
| uint16_t sense_svc_t::lim_win |
the number of the last one judged
| bool sense_svc_t::open |
the bus runs on its pins
| uint16_t sense_svc_t::over_n[SENSE_CHANNELS] |
per channel, the windows judged over the limit
| uint16_t sense_svc_t::present |
bit n: 0x40 + n answered
| uint16_t sense_svc_t::refusals |
refused arms, modulo 65536
| bool sense_svc_t::refused |
cap_gen's arm was refused
| uint16_t sense_svc_t::run_gen |
generation of the run command taken
| uint64_t sense_svc_t::scan_at_us |
the next scan while a part is missing
| bool sense_svc_t::scan_due |
whether a scan for missing parts is due
| sense_sched_t sense_svc_t::sched |
the schedule
| uint8_t sense_svc_t::scl |
GPIO number of the clock line
| uint8_t sense_svc_t::sda |
GPIO number of the data line
| uint16_t sense_svc_t::seq_base |
captures ended under earlier set-ups
| uint32_t sense_svc_t::setups |
schedules set up, modulo 2^32: each one's sched.gen
| bool sense_svc_t::started |
a command has been taken