|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
The state of one Hitec port: the hardware, the staged registers, the running or last transaction and its capture. More...
#include <hitec_port.h>
Data Fields | |
| hitec_port_hw_t | hw |
| uint16_t | staged [LINK_HT_W_STAGED] |
| uint16_t | last_cmd [LINK_HT_W_CMD_FRAME] |
| hitec_xfer_t | xfer |
| hitec_capture_t | cap |
| hitec_reply_t | reply |
| hitec_port_run_t | info |
| uint32_t | t0_ms |
| uint32_t | t1_ms |
| uint32_t | start_us |
| uint32_t | cap_us |
| uint16_t | seq |
| uint16_t | count |
| uint16_t | mv |
| uint16_t | ma |
| uint16_t | off_ms |
| uint8_t | state |
| uint8_t | port |
| uint8_t | pin |
| uint8_t | family |
| uint8_t | drive |
| uint8_t | op |
| uint8_t | result |
| uint8_t | refusal |
| uint8_t | rx |
| uint8_t | dec |
| uint8_t | dec_arg |
| uint8_t | view |
| uint8_t | safe |
| uint8_t | armed |
| uint8_t | other |
| uint8_t | has_pin |
| uint8_t | has_cap |
| uint8_t | stopped |
| uint8_t | keyed |
| uint8_t | cutting |
| uint8_t | off_seen |
| uint8_t | rx_mode |
| uint8_t | rx_line |
| uint8_t | supply_on |
| uint8_t | read_on |
The state of one Hitec port: the hardware, the staged registers, the running or last transaction and its capture.
| uint8_t hitec_port_t::armed |
whether the bank is armed
| hitec_capture_t hitec_port_t::cap |
the last capture
| uint32_t hitec_port_t::cap_us |
from the start to the capture
| uint16_t hitec_port_t::count |
transactions since the port was taken
| uint8_t hitec_port_t::cutting |
the driver was told to abort
| uint8_t hitec_port_t::dec |
link_hitec_dec_t of the last transaction
| uint8_t hitec_port_t::dec_arg |
argument of dec
| uint8_t hitec_port_t::drive |
whether the port drives
| uint8_t hitec_port_t::family |
the servo family
| uint8_t hitec_port_t::has_cap |
whether a capture is held
| uint8_t hitec_port_t::has_pin |
whether pin holds a GPIO
| hitec_port_run_t hitec_port_t::info |
the driver's word at the last start
| uint8_t hitec_port_t::keyed |
the last transaction puts a byte out
| uint16_t hitec_port_t::ma |
the running POWER's current limit, mA
| uint16_t hitec_port_t::mv |
the running POWER's set points
| uint16_t hitec_port_t::off_ms |
the POWER off time, ms
| uint8_t hitec_port_t::off_seen |
POWER: the supply read off
| uint8_t hitec_port_t::op |
link_hitec_op_t of the last operation
| uint8_t hitec_port_t::other |
ports the KST page holds
| uint8_t hitec_port_t::pin |
the port's GPIO
| uint8_t hitec_port_t::port |
the programming port
| uint8_t hitec_port_t::read_on |
the output read on (not off) since the start; set at the start but for POWER
| uint8_t hitec_port_t::refusal |
link_hitec_refusal_t of the last command
| hitec_reply_t hitec_port_t::reply |
its decoding
| uint8_t hitec_port_t::result |
link_hitec_result_t of that operation
| uint8_t hitec_port_t::rx |
hitec_rx_t of the last decoding
| uint8_t hitec_port_t::rx_line |
the receive mode of the line, from its OPEN
| uint8_t hitec_port_t::rx_mode |
LINK_HT_W_RX_MODE as written
| uint8_t hitec_port_t::safe |
0 while the bench is not SAFE
| uint16_t hitec_port_t::seq |
sequence number of the last transaction
| uint32_t hitec_port_t::start_us |
driver time of its start, µs
| uint8_t hitec_port_t::state |
| uint8_t hitec_port_t::stopped |
whether the port was stopped
| uint8_t hitec_port_t::supply_on |
the supply was asked on at the start
| uint32_t hitec_port_t::t0_ms |
bench time of the transaction's start, ms
| uint32_t hitec_port_t::t1_ms |
bench time of its end, ms
| uint8_t hitec_port_t::view |
the supply's view of the port
| hitec_xfer_t hitec_port_t::xfer |
the running transaction, or the last