|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The state of the HITEC link module. More...
#include <hitec_link.h>
Data Fields | |
| uint8_t | up |
| uint8_t | page |
| uint16_t | minor |
| uint8_t | known |
| uint8_t | phase |
| uint8_t | pending |
| uint8_t | tries |
| uint8_t | polled |
| uint8_t | poll_now |
| uint32_t | status_ms |
| uint32_t | now_ms |
| uint16_t | seq |
| uint16_t | status [LINK_HT_DATA] |
| uint8_t | ours |
| uint8_t | have_line |
| uint16_t | line [3] |
| uint8_t | active |
| uint8_t | op |
| uint8_t | port |
| uint32_t | id |
| uint8_t | stage_at |
| uint16_t | staged [HITEC_LINK_STAGED] |
| uint16_t | cmd_proto [LINK_HT_W_CMD_FRAME] |
| uint8_t | verdict |
| uint8_t | taken |
| uint32_t | taken_ms |
| uint8_t | limit_cut |
| uint8_t | cmd_live |
| uint8_t | cmd_abort |
| uint8_t | cmd_tries |
| uint8_t | cmd_doubt |
| uint8_t | doubt_abort |
| uint8_t | doubt_nack |
| uint16_t | cmd [LINK_HT_W_CMD_FRAME] |
| uint8_t | abort_wanted |
| uint16_t | end [LINK_HT_DATA] |
| uint8_t | outcome_new |
| hitec_link_outcome_t | outcome |
The state of the HITEC link module.
| uint8_t hitec_link_t::abort_wanted |
an ABORT is owed
| uint8_t hitec_link_t::active |
a request is on its way
| uint16_t hitec_link_t::cmd[LINK_HT_W_CMD_FRAME] |
its registers 0 to 3
| uint8_t hitec_link_t::cmd_abort |
it is an ABORT
| uint8_t hitec_link_t::cmd_doubt |
it went without an answer and is not sent again; the next status read says whether the page took it
| uint8_t hitec_link_t::cmd_live |
it goes, or goes again
| uint16_t hitec_link_t::cmd_proto[LINK_HT_W_CMD_FRAME] |
the command less its SEQ
| uint8_t hitec_link_t::cmd_tries |
tries of it without an answer
| uint8_t hitec_link_t::doubt_abort |
the doubt came from an abort, not from HITEC_LINK_RETRIES unanswered tries
| uint8_t hitec_link_t::doubt_nack |
the doubt came from a NACK of a try after one without an answer: its reason
| uint16_t hitec_link_t::end[LINK_HT_DATA] |
registers 0 to 15 as the request ended
| uint8_t hitec_link_t::have_line |
line[] was read since the OPEN
| uint32_t hitec_link_t::id |
the caller's number of it
| uint8_t hitec_link_t::known |
status was read since the link came up
| uint8_t hitec_link_t::limit_cut |
HITEC_LINK_RUN_MAX_MS asked an abort
| uint16_t hitec_link_t::line[3] |
LINK_HT_I_BIT_NS, _LINE, _PIN
| uint16_t hitec_link_t::minor |
its protocol minor
| uint32_t hitec_link_t::now_ms |
the time hitec_link_next() last had
| uint8_t hitec_link_t::op |
| uint8_t hitec_link_t::ours |
this module opened the held port
| hitec_link_outcome_t hitec_link_t::outcome |
how the last request went
| uint8_t hitec_link_t::outcome_new |
outcome is not handed out yet
| uint8_t hitec_link_t::page |
it has the page
| uint8_t hitec_link_t::pending |
the exchange in flight
| uint8_t hitec_link_t::phase |
| uint8_t hitec_link_t::poll_now |
a status read is owed at once
| uint8_t hitec_link_t::polled |
status_ms is meaningful
| uint8_t hitec_link_t::port |
the port it names
| uint16_t hitec_link_t::seq |
the page's SEQ
| uint8_t hitec_link_t::stage_at |
staged windows written
| uint16_t hitec_link_t::staged[HITEC_LINK_STAGED] |
registers 4 to 22 as they go out
| uint16_t hitec_link_t::status[LINK_HT_DATA] |
registers 0 to 15 as last read
| uint32_t hitec_link_t::status_ms |
when status was last asked
| uint8_t hitec_link_t::taken |
the page took the command
| uint32_t hitec_link_t::taken_ms |
when the page took it
| uint8_t hitec_link_t::tries |
exchanges unanswered in a row
| uint8_t hitec_link_t::up |
an IOmcu answers
| uint8_t hitec_link_t::verdict |
the command was taken; the status that says what became of it is owed