|
HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
|
UART communication configuration structure. More...
#include <tmc51x0_types.hpp>
Public Member Functions | |
| UartConfig ()=default | |
| Default constructor. | |
Public Attributes | |
| uint8_t | node_address {0} |
| UART node address. | |
| uint8_t | send_delay {0} |
| UART send delay. | |
UART communication configuration structure.
Configuration parameters for UART mode operation (only used when SPI_MODE=0). These parameters configure the device's node address and timing for multi-device UART chains.
|
default |
Default constructor.
Initializes with safe defaults:
| uint8_t tmc51x0::UartConfig::node_address {0} |
UART node address.
7-bit UART node address for multi-device UART chains (0-127). Same value as node address in NODECONF register.
Range: 0-127 (7-bit address) Default: 0 (first device in chain, or single device)
| uint8_t tmc51x0::UartConfig::send_delay {0} |
UART send delay.
Number of bit times to wait before replying to a register read in UART mode. Used to ensure proper timing in multi-device UART chains.
Range: 0-15 bit times Default: 0 (no delay)