TMC5160 Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Namespaces
tmc5160_detail.hpp File Reference

Compile-time helpers of the TMC5160 driver: typed integer literals, exact hook matching, typed register fields and enumeration checks. More...

#include <array>
#include <concepts>
#include <cstddef>
#include <cstdint>
#include <limits>
#include <span>
#include <type_traits>

Go to the source code of this file.

Namespaces

namespace  tmc5160
 The TMC5160 driver: everything it declares lives here; internals in detail.
 

Detailed Description

Compile-time helpers of the TMC5160 driver: typed integer literals, exact hook matching, typed register fields and enumeration checks.

Everything here is constexpr or used only in unevaluated operands, so it adds no code to the run-time path (handbook C++20 profile, KB-CPP20-006, -008, -020, -021, -025, -026).