|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The SUPPLY page state: registers, and the wiring change in hand. More...
#include <supply_page.h>
Data Fields | |
| uint16_t | regs [LINK_SP_COUNT] |
| bool | commanded |
| bool | answered |
| uint8_t | wire |
| bool | wire_ask |
| bool | wire_refused |
| uint16_t | wire_next [4] |
| bool | reset_owed |
| uint8_t | scan |
| uint16_t | scan_seen |
| bool | held |
| bool | frame_out |
| bool | was_on |
| bool | off_wait |
| uint32_t | now_ms |
| uint32_t | off_t0 |
The SUPPLY page state: registers, and the wiring change in hand.
| bool supply_page_t::answered |
the driver's module has answered once
| bool supply_page_t::commanded |
set points written since init
| bool supply_page_t::frame_out |
the port has a frame on the wire
| bool supply_page_t::held |
a programming port holds the command
| uint32_t supply_page_t::now_ms |
the clock of supply_page_port_frame()
| uint32_t supply_page_t::off_t0 |
when the waiting OFF was asked
| bool supply_page_t::off_wait |
an OFF waits for the frame's end
| uint16_t supply_page_t::regs[LINK_SP_COUNT] |
the page's registers, LINK_SP_*
| bool supply_page_t::reset_owed |
RESET written, not yet passed on
| uint8_t supply_page_t::scan |
the rate being tried under AUTO, 0..6
| uint16_t supply_page_t::scan_seen |
the driver's who_failed when last looked
| bool supply_page_t::was_on |
OUTPUT was 1 at the last step
| uint8_t supply_page_t::wire |
| bool supply_page_t::wire_ask |
the state read not yet asked of the driver
| uint16_t supply_page_t::wire_next[4] |
the change waiting, ENABLE to BAUD
| bool supply_page_t::wire_refused |
the last change waited and was refused