Skip to content

Struct x430_model

ClassList > x430_model

Control Table and capabilities of one model. More...

  • #include <x430_model.h>

Public Attributes

Type Name
uint8_t axes
2 for 2XL430/2XC430.
uint16_t current_unit_ua
Current unit in uA, 0 = no current.
const struct x430_indirect_block * indirect
Indirect blocks, sorted by address.
uint8_t indirect_count
Entries in indirect.
uint16_t model_number
Number from the documentation.
const char * name
e.g.
uint32_t operating_modes
Bit n set: Operating Mode n allowed.
uint16_t register_count
Entries in registers.
const struct x430_reg * registers
Sorted by address, no Indirect Address.
uint8_t segment_count
Entries in segments.
const struct x430_segment * segments
Image segments; the first starts at 0.
uint16_t table_size
Addresses 0 .

Detailed Description

The Indirect Address registers are not in x430_model::registers: the library generates them from the blocks (2 bytes, RW, initial value Indirect Data n, range 64 .. table_size - 1) and numbers them after the table registers, which all lie below the first block.

Public Attributes Documentation

variable axes

2 for 2XL430/2XC430.

uint8_t x430_model::axes;


variable current_unit_ua

Current unit in uA, 0 = no current.

uint16_t x430_model::current_unit_ua;


variable indirect

Indirect blocks, sorted by address.

const struct x430_indirect_block* x430_model::indirect;


variable indirect_count

Entries in indirect.

uint8_t x430_model::indirect_count;


variable model_number

Number from the documentation.

uint16_t x430_model::model_number;


variable name

e.g.

const char* x430_model::name;

"XM430-W350".


variable operating_modes

Bit n set: Operating Mode n allowed.

uint32_t x430_model::operating_modes;


variable register_count

Entries in registers.

uint16_t x430_model::register_count;


variable registers

Sorted by address, no Indirect Address.

const struct x430_reg* x430_model::registers;


variable segment_count

Entries in segments.

uint8_t x430_model::segment_count;


variable segments

Image segments; the first starts at 0.

const struct x430_segment* x430_model::segments;


variable table_size

Addresses 0 .

uint16_t x430_model::table_size;

. table_size - 1.



The documentation for this class was generated from the following file inc/x430_model.h