TMC9660 Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Namespaces
tmc9660_frames.hpp File Reference

Pure frame encoders and decoders of the three TMC9660 protocols: bootloader, parameter mode (TMCL) and register mode, over SPI and UART. No I/O, no state. More...

#include <array>
#include <cstddef>
#include <cstdint>
#include <span>
#include "tmc9660_detail.hpp"
#include "tmc9660_types.hpp"

Go to the source code of this file.

Namespaces

namespace  tmc9660
 The TMC9660 driver: everything it declares lives here; internals in detail.
 

Detailed Description

Pure frame encoders and decoders of the three TMC9660 protocols: bootloader, parameter mode (TMCL) and register mode, over SPI and UART. No I/O, no state.

Every function is constexpr and proved against the datasheet's worked examples with static_assert at the end of this file. Where the documents disagree, a parameter selects the reading (see the ambiguity table in docs/ambiguities.md).