|
HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
|
X-MACRO definitions for TMC51x0 registers (TMC5130 & TMC5160) More...
#include <cstdint>Go to the source code of this file.
Macros | |
| #define | REGISTER_LIST(X) |
Functions | |
| const char * | GetRegisterDef (uint8_t address) |
| Get register definition string. | |
X-MACRO definitions for TMC51x0 registers (TMC5130 & TMC5160)
This file uses the X-MACRO pattern to define all TMC51x0 registers with their addresses, access types, and metadata. This allows generating multiple data structures from a single source of truth. Supports both TMC5130 and TMC5160 chips.
Usage follows TMC9660 pattern: #define X(addr, name, access, category, desc) ... REGISTER_LIST(X) #undef X
Access types:
Categories:
| #define REGISTER_LIST | ( | X | ) |
| const char * GetRegisterDef | ( | uint8_t | address | ) |
Get register definition string.
| address | Register address |