|
Feetech STS Driver
|
STS Shared Bus Handle. More...
#include <sts_servo.h>
Public Attributes | |
| void * | port_handle |
| sts_hal_transmit_t | transmit |
| sts_hal_receive_t | receive |
| sts_hal_flush_rx_t | flush_rx |
| uint8_t | max_retries |
| uint32_t | total_transactions |
| uint32_t | total_retries |
| uint32_t | retry_saves |
| uint32_t | hard_failures |
| uint8_t | tx_buf [STS_MAX_TX_BUFFER] |
| uint8_t | rx_buf [STS_MAX_RX_BUFFER] |
STS Shared Bus Handle.
| sts_hal_flush_rx_t sts_bus_s::flush_rx |
drain stale RX bytes between retries. NULL = no-op.
| uint32_t sts_bus_s::hard_failures |
Transactions that exhausted all attempts
| uint8_t sts_bus_s::max_retries |
Transaction retry count on transport error (0 = no retries)
| void* sts_bus_s::port_handle |
Opaque pointer to the physical UART hardware
| sts_hal_receive_t sts_bus_s::receive |
Injected RX function
| uint32_t sts_bus_s::retry_saves |
Transactions that failed then succeeded on retry
| uint32_t sts_bus_s::total_retries |
Attempts after the first (each retry = +1)
| uint32_t sts_bus_s::total_transactions |
Every call to sts_execute_command
| sts_hal_transmit_t sts_bus_s::transmit |
Injected TX function