|
HF-TMC9660 Driver 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC9660
|
Bootloader command structure for SPI (40-bit / 5-byte protocol). More...
#include <bootloader_protocol.hpp>
Public Member Functions | |
| void | toBuffer (std::array< uint8_t, 5 > &out) const noexcept |
| Serialize to 5-byte buffer for SPI transmission. | |
Public Attributes | |
| uint8_t | command |
| Command byte. | |
| uint32_t | value |
| 32-bit data value | |
Bootloader command structure for SPI (40-bit / 5-byte protocol).
Format: [COMMAND(8)] [VALUE(32)]
All bytes are bit-flipped during SPI transmission. Serialization is handled automatically by the TMC9660Bootloader::sendCommand() methods.
Serialize to 5-byte buffer for SPI transmission.
| uint8_t tmc9660::BootloaderCommandSPI::command |
Command byte.
| uint32_t tmc9660::BootloaderCommandSPI::value |
32-bit data value