Struct x430_bus_ctx¶
State behind the opaque x430_bus .More...
#include <x430_internal.h>
Public Attributes¶
| Type | Name |
|---|---|
| struct x430_bus_config | config Copy of the configuration. |
| uint8_t | device_count Entries in devices. |
| struct x430_device * | devices Attached devices. |
| uint32_t | last_rx_ms Time of the last instruction packet. |
| struct dxl2_link | link DXL2-C parser/encoder. |
| uint32_t | ready X430_READY after x430_bus_init() . |
| uint8_t | turn_count Entries in turns. |
| uint32_t | turn_ms Last progress of the pending read. |
| uint8_t | turn_next Next entry of turns to answer. |
| struct x430_turn | turns Pending SYNC_READ / BULK_READ. |
| uint8_t | tx Status packet, built and framed in place. |
| bool | write_failed The writer failed since the last call. |
Detailed Description¶
Its layout may change in any release.
Public Attributes Documentation¶
variable config¶
Copy of the configuration.
variable device_count¶
Entries in devices.
variable devices¶
Attached devices.
variable last_rx_ms¶
Time of the last instruction packet.
variable link¶
DXL2-C parser/encoder.
variable ready¶
X430_READY after x430_bus_init() .
variable turn_count¶
Entries in turns.
variable turn_ms¶
Last progress of the pending read.
variable turn_next¶
Next entry of turns to answer.
variable turns¶
Pending SYNC_READ / BULK_READ.
variable tx¶
Status packet, built and framed in place.
variable write_failed¶
The writer failed since the last call.
The documentation for this class was generated from the following file src/x430_internal.h