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

A microstep table (MSLUT, MSLUTSEL, MSLUTSTART, section 6.5 page 47). More...

#include <tmc5160_types.hpp>

Public Attributes

std::array< uint32_t, 8 > words {reg::kDefaultMslut}
 MSLUT[0] to MSLUT[7].
 
std::array< uint8_t, 4 > w {2, 1, 1, 1}
 Segment width codes W0 to W3, 0 to 3.
 
uint8_t x1 {128}
 Segment 1 start.
 
uint8_t x2 {255}
 Segment 2 start.
 
uint8_t x3 {255}
 Segment 3 start.
 
uint8_t start_sin {0}
 Table value at entry 0.
 
uint8_t start_sin90 {247}
 Table value at entry 256.
 

Detailed Description

A microstep table (MSLUT, MSLUTSEL, MSLUTSTART, section 6.5 page 47).


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