Struct 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.
variable current_unit_ua¶
Current unit in uA, 0 = no current.
variable indirect¶
Indirect blocks, sorted by address.
variable indirect_count¶
Entries in indirect.
variable model_number¶
Number from the documentation.
variable name¶
e.g.
"XM430-W350".
variable operating_modes¶
Bit n set: Operating Mode n allowed.
variable register_count¶
Entries in registers.
variable registers¶
Sorted by address, no Indirect Address.
variable segment_count¶
Entries in segments.
variable segments¶
Image segments; the first starts at 0.
variable table_size¶
Addresses 0 .
. table_size - 1.
The documentation for this class was generated from the following file inc/x430_model.h