|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The panel's side of the programming ports' page. More...
#include <prog_link.h>
Data Fields | |
| bool | up |
| bool | page |
| bool | target_rate |
| uint8_t | seen |
| uint8_t | rate |
| bool | known |
| bool | read_once |
| uint32_t | read_ms |
| uint16_t | regs [LINK_PG_REGS] |
| uint8_t | want_target |
| bool | want_pwm |
| bool | held |
| bool | func |
| bool | dshot |
| uint8_t | ask_state |
| uint8_t | ask_port |
| uint8_t | ask_kind |
| uint16_t | ask_value |
| bool | reread |
| bool | hitec |
| uint8_t | hitec_held |
The panel's side of the programming ports' page.
| uint8_t prog_link_t::ask_kind |
| uint8_t prog_link_t::ask_port |
port the ask is for
| uint8_t prog_link_t::ask_state |
| uint16_t prog_link_t::ask_value |
the register value to write
| bool prog_link_t::dshot |
from 4.28: FUNC takes DShot
| bool prog_link_t::func |
from 4.26: FUNC and 28 registers
| bool prog_link_t::held |
the programmer has a port
| bool prog_link_t::hitec |
from 4.23: the HITEC page
| uint8_t prog_link_t::hitec_held |
bit n: the HITEC page holds port n
| bool prog_link_t::known |
regs holds a read of it
| bool prog_link_t::page |
the IOmcu has the page
| uint8_t prog_link_t::rate |
a prog_link_rate_t not yet asked
| uint32_t prog_link_t::read_ms |
when the page was last read, ms
| bool prog_link_t::read_once |
read_ms is a time
| uint16_t prog_link_t::regs[LINK_PG_REGS] |
the page's registers as last read
| bool prog_link_t::reread |
an ask was written: nothing more until the page is read again
| uint8_t prog_link_t::seen |
the TARGET last known, or PROG_LINK_SEEN_NONE
| bool prog_link_t::target_rate |
from 4.19: a TARGET change sets the SERVO rate to 0
| bool prog_link_t::up |
an IOmcu answers
| bool prog_link_t::want_pwm |
whether the wanted target is a PWM port
| uint8_t prog_link_t::want_target |
0, or 1 + n for port n