|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The whole injector: protocol, contacts, frames and replies. More...
#include <injector.h>
Data Fields | |
| inj_state_t | state |
| gt911_emu_t | emu |
| char | line [INJ_LINE_MAX+1u] |
| uint8_t | len |
| bool | overflow |
| inj_line_result_t | wiring |
| bool | wiring_running |
| bool | wiring_wanted |
| bool | attach_wanted |
| inj_contact_t | c [INJ_ID_MAX+1u] |
| bool | pending |
| bool | published |
| uint32_t | t_pub |
| bool | withdraw_due |
| bool | failed |
| uint32_t | seen_reads |
| uint32_t | seen_acks |
| uint32_t | seen_product |
| bool | any_read |
| uint32_t | t_last_read |
| char | replies [INJ_REPLIES][INJ_REPLY_LEN] |
| uint8_t | r_head |
| uint8_t | r_count |
The whole injector: protocol, contacts, frames and replies.
| bool injector_t::any_read |
the panel has read once
| bool injector_t::attach_wanted |
| inj_contact_t injector_t::c[INJ_ID_MAX+1u] |
by contact id
| gt911_emu_t injector_t::emu |
the register file at 0x14
| bool injector_t::failed |
the last gesture failed: the LED is red
| uint8_t injector_t::len |
its length
| char injector_t::line[INJ_LINE_MAX+1u] |
the line being typed
| bool injector_t::overflow |
it is longer than INJ_LINE_MAX
| bool injector_t::pending |
a published frame awaits its ack
| bool injector_t::published |
a frame was published since idle
| uint8_t injector_t::r_count |
how many
| uint8_t injector_t::r_head |
the oldest
| char injector_t::replies[INJ_REPLIES][INJ_REPLY_LEN] |
not yet sent
| uint32_t injector_t::seen_acks |
emu.acks as last seen
| uint32_t injector_t::seen_product |
emu.product_reads as last seen
| uint32_t injector_t::seen_reads |
emu.reads as last seen
| inj_state_t injector_t::state |
LISTEN or ACTIVE
| uint32_t injector_t::t_last_read |
when it last read
| uint32_t injector_t::t_pub |
when the last frame was published
| inj_line_result_t injector_t::wiring |
the last wiring verdict
| bool injector_t::wiring_running |
the glue is listening
| bool injector_t::wiring_wanted |
| bool injector_t::withdraw_due |
withdraw the frame once the bus is free