|
HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
|
TMC5160 SPI response structure. More...
#include <tmc51x0_comm_interface.hpp>
Public Attributes | |
| SpiStatus | status |
| SPI_STATUS flags from the chip. | |
| uint32_t | value |
| bool | success |
| true if the transport transaction succeeded | |
TMC5160 SPI response structure.
Contains the SPI_STATUS and data value from a single chip's response. Used for both single-chip and multi-chip (daisy-chain) communication. Responses are returned in the same order as commands were sent.
| SpiStatus tmc51x0::SpiResponse::status |
SPI_STATUS flags from the chip.
| bool tmc51x0::SpiResponse::success |
true if the transport transaction succeeded
| uint32_t tmc51x0::SpiResponse::value |
32-bit data value (for reads) or write confirmation (for writes)