Skip to content

Struct x430_bus_ctx

ClassList > 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.

struct x430_bus_config x430_bus_ctx::config;


variable device_count

Entries in devices.

uint8_t x430_bus_ctx::device_count;


variable devices

Attached devices.

struct x430_device* x430_bus_ctx::devices[X430_MAX_DEVICES];


variable last_rx_ms

Time of the last instruction packet.

uint32_t x430_bus_ctx::last_rx_ms;


DXL2-C parser/encoder.

struct dxl2_link x430_bus_ctx::link;


variable ready

X430_READY after x430_bus_init() .

uint32_t x430_bus_ctx::ready;


variable turn_count

Entries in turns.

uint8_t x430_bus_ctx::turn_count;


variable turn_ms

Last progress of the pending read.

uint32_t x430_bus_ctx::turn_ms;


variable turn_next

Next entry of turns to answer.

uint8_t x430_bus_ctx::turn_next;


variable turns

Pending SYNC_READ / BULK_READ.

struct x430_turn x430_bus_ctx::turns[X430_MAX_DEVICES];


variable tx

Status packet, built and framed in place.

uint8_t x430_bus_ctx::tx[DXL2_MAX_PACKET_SIZE];


variable write_failed

The writer failed since the last call.

bool x430_bus_ctx::write_failed;



The documentation for this class was generated from the following file src/x430_internal.h