TMC5160 Driver 0.1.0
API reference
Loading...
Searching...
No Matches
Public Attributes | List of all members
tmc5160::EncoderScale Struct Reference

The ENC_CONST accumulation factor (page 45, 107). More...

#include <tmc5160_types.hpp>

Public Attributes

bool decimal {false}
 ENCMODE.enc_sel_decimal: fraction in 1/10000 instead of 1/65536.
 
int16_t integer {1}
 Integer part, signed.
 
uint16_t fraction {0}
 Fractional part: 1/65536 (binary) or 1/10000 (decimal, below 10000).
 
bool negative {false}
 Decimal only: the constant is negative (page 107 rule).
 

Detailed Description

The ENC_CONST accumulation factor (page 45, 107).


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