Reply structure returned by sendCommand()
More...
#include <TMC9660CommInterface.hpp>
|
| bool | isOK () const noexcept |
| |
|
| static bool | fromSpi (std::span< const uint8_t, 8 > in, TMCLReply &r) noexcept |
| | Decode reply from SPI datagram.
|
| |
| static bool | fromUart (std::span< const uint8_t, 9 > in, uint8_t addr, TMCLReply &r) noexcept |
| | Decode reply from UART datagram.
|
| |
Reply structure returned by sendCommand()
◆ fromSpi()
| static bool TMCLReply::fromSpi |
( |
std::span< const uint8_t, 8 > |
in, |
|
|
TMCLReply & |
r |
|
) |
| |
|
inlinestaticnoexcept |
Decode reply from SPI datagram.
◆ fromUart()
| static bool TMCLReply::fromUart |
( |
std::span< const uint8_t, 9 > |
in, |
|
|
uint8_t |
addr, |
|
|
TMCLReply & |
r |
|
) |
| |
|
inlinestaticnoexcept |
Decode reply from UART datagram.
◆ isOK()
| bool TMCLReply::isOK |
( |
| ) |
const |
|
inlinenoexcept |
◆ opcode
| uint8_t TMCLReply::opcode = 0 |
◆ spiStatus
◆ status
| uint8_t TMCLReply::status = 0 |
TMCL status code (100=OK, 101=LOADED)
◆ value
| uint32_t TMCLReply::value = 0 |
The documentation for this struct was generated from the following file: