Open FFBoard
Open source force feedback firmware
TMC4671MainConfig Struct Reference

#include <TMC4671.h>

Public Attributes

TMC4671HardwareTypeConf hwconf
 
TMC4671MotConf motconf
 
uint16_t pwmcnt = 4095
 
uint8_t bbmL = 50
 
uint8_t bbmH = 50
 
uint16_t mdecA = 660
 
uint16_t mdecB = 331
 
uint32_t mclkA = 0x20000000
 
uint32_t mclkB = 0x20000000
 
uint16_t adc_I0_offset = 33415
 
uint16_t adc_I1_offset = 33415
 
uint16_t adc_I0_scale = 256
 
uint16_t adc_I1_scale = 256
 
bool canChangeHwType = true
 
bool encoderReversed = false
 
bool combineEncoder = false
 
bool invertForce = false
 
bool enableFluxDissipation = false
 

Detailed Description

Definition at line 146 of file TMC4671.h.

Member Data Documentation

◆ adc_I0_offset

uint16_t TMC4671MainConfig::adc_I0_offset = 33415

Definition at line 156 of file TMC4671.h.

◆ adc_I0_scale

uint16_t TMC4671MainConfig::adc_I0_scale = 256

Definition at line 158 of file TMC4671.h.

◆ adc_I1_offset

uint16_t TMC4671MainConfig::adc_I1_offset = 33415

Definition at line 157 of file TMC4671.h.

◆ adc_I1_scale

uint16_t TMC4671MainConfig::adc_I1_scale = 256

Definition at line 159 of file TMC4671.h.

◆ bbmH

uint8_t TMC4671MainConfig::bbmH = 50

Definition at line 151 of file TMC4671.h.

◆ bbmL

uint8_t TMC4671MainConfig::bbmL = 50

Definition at line 150 of file TMC4671.h.

◆ canChangeHwType

bool TMC4671MainConfig::canChangeHwType = true

Definition at line 160 of file TMC4671.h.

◆ combineEncoder

bool TMC4671MainConfig::combineEncoder = false

Definition at line 162 of file TMC4671.h.

◆ enableFluxDissipation

bool TMC4671MainConfig::enableFluxDissipation = false

Definition at line 164 of file TMC4671.h.

◆ encoderReversed

bool TMC4671MainConfig::encoderReversed = false

Definition at line 161 of file TMC4671.h.

◆ hwconf

TMC4671HardwareTypeConf TMC4671MainConfig::hwconf

Definition at line 147 of file TMC4671.h.

◆ invertForce

bool TMC4671MainConfig::invertForce = false

Definition at line 163 of file TMC4671.h.

◆ mclkA

uint32_t TMC4671MainConfig::mclkA = 0x20000000

Definition at line 154 of file TMC4671.h.

◆ mclkB

uint32_t TMC4671MainConfig::mclkB = 0x20000000

Definition at line 155 of file TMC4671.h.

◆ mdecA

uint16_t TMC4671MainConfig::mdecA = 660

Definition at line 152 of file TMC4671.h.

◆ mdecB

uint16_t TMC4671MainConfig::mdecB = 331

Definition at line 153 of file TMC4671.h.

◆ motconf

TMC4671MotConf TMC4671MainConfig::motconf

Definition at line 148 of file TMC4671.h.

◆ pwmcnt

uint16_t TMC4671MainConfig::pwmcnt = 4095

Definition at line 149 of file TMC4671.h.


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