TMC9660 Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
tmc9660::Quirks Struct Reference

Model knobs: where the documents disagree, the driver reads one way by default and a flag selects the other (docs/ambiguities.md). More...

#include <tmc9660_types.hpp>

Public Attributes

bool crc8_reflect_output
 A1: reflect the CRC-8 result, as the prose says. The examples do not.
 
TmclLayout tmcl_layout
 A2: the TMCL type and motor bytes; probed at the start, never trusted.
 
bool reg_spi_wide_offset {false}
 A3: 5-bit block, write bit 42, 10-bit offset.
 
bool reg_uart_msb_fields {false}
 A4: offset[10:8] << 5 | block in byte 3.
 
uint8_t ram_debug_index_bits
 A17: width of the RAMDebug index in a register offset: 5 or 6.
 

Detailed Description

Model knobs: where the documents disagree, the driver reads one way by default and a flag selects the other (docs/ambiguities.md).

Member Data Documentation

◆ crc8_reflect_output

bool tmc9660::Quirks::crc8_reflect_output
Initial value:
{
false}

A1: reflect the CRC-8 result, as the prose says. The examples do not.

◆ ram_debug_index_bits

uint8_t tmc9660::Quirks::ram_debug_index_bits
Initial value:
{
5}

A17: width of the RAMDebug index in a register offset: 5 or 6.

◆ tmcl_layout

TmclLayout tmc9660::Quirks::tmcl_layout
Initial value:
{
@ Auto
Probe both layouts; start only when exactly one answers.

A2: the TMCL type and motor bytes; probed at the start, never trusted.


The documentation for this struct was generated from the following file: