TMCStepper
|
#include <TMC2130_bitfields.h>
Public Attributes | |
union { | |
uint32_t sr: 18 | |
struct { | |
bool i_scale_analog: 1 | |
bool internal_rsense: 1 | |
bool en_pwm_mode: 1 | |
bool enc_commutation: 1 | |
bool shaft: 1 | |
bool diag0_error: 1 | |
bool diag0_otpw: 1 | |
bool diag0_stall: 1 | |
bool diag1_stall: 1 | |
bool diag1_index: 1 | |
bool diag1_onstate: 1 | |
bool diag1_steps_skipped: 1 | |
bool diag0_int_pushpull: 1 | |
bool diag1_pushpull: 1 | |
bool small_hysteresis: 1 | |
bool stop_enable: 1 | |
bool direct_mode: 1 | |
} | |
struct { | |
bool recalibrate: 1 | |
bool faststandstill: 1 | |
bool multistep_filt: 1 | |
bool diag0_step: 1 | |
bool diag1_dir: 1 | |
bool diag1_poscomp_pushpull: 1 | |
} | |
}; | |
Static Public Attributes | |
constexpr static uint8_t | address = 0x00 |
Definition at line 4 of file TMC2130_bitfields.h.
union { ... } |
|
staticconstexpr |
Definition at line 5 of file TMC2130_bitfields.h.
bool GCONF_t::diag0_error |
Definition at line 14 of file TMC2130_bitfields.h.
bool GCONF_t::diag0_int_pushpull |
Definition at line 21 of file TMC2130_bitfields.h.
bool GCONF_t::diag0_otpw |
Definition at line 15 of file TMC2130_bitfields.h.
bool GCONF_t::diag0_stall |
Definition at line 16 of file TMC2130_bitfields.h.
bool GCONF_t::diag0_step |
Definition at line 32 of file TMC2130_bitfields.h.
bool GCONF_t::diag1_dir |
Definition at line 34 of file TMC2130_bitfields.h.
bool GCONF_t::diag1_index |
Definition at line 18 of file TMC2130_bitfields.h.
bool GCONF_t::diag1_onstate |
Definition at line 19 of file TMC2130_bitfields.h.
bool GCONF_t::diag1_poscomp_pushpull |
Definition at line 35 of file TMC2130_bitfields.h.
bool GCONF_t::diag1_pushpull |
Definition at line 22 of file TMC2130_bitfields.h.
bool GCONF_t::diag1_stall |
Definition at line 17 of file TMC2130_bitfields.h.
bool GCONF_t::diag1_steps_skipped |
Definition at line 20 of file TMC2130_bitfields.h.
bool GCONF_t::direct_mode |
Definition at line 25 of file TMC2130_bitfields.h.
bool GCONF_t::en_pwm_mode |
Definition at line 11 of file TMC2130_bitfields.h.
bool GCONF_t::enc_commutation |
Definition at line 12 of file TMC2130_bitfields.h.
bool GCONF_t::faststandstill |
Definition at line 29 of file TMC2130_bitfields.h.
bool GCONF_t::i_scale_analog |
Definition at line 9 of file TMC2130_bitfields.h.
bool GCONF_t::internal_rsense |
Definition at line 10 of file TMC2130_bitfields.h.
bool GCONF_t::multistep_filt |
Definition at line 30 of file TMC2130_bitfields.h.
bool GCONF_t::recalibrate |
Definition at line 28 of file TMC2130_bitfields.h.
bool GCONF_t::shaft |
Definition at line 13 of file TMC2130_bitfields.h.
bool GCONF_t::small_hysteresis |
Definition at line 23 of file TMC2130_bitfields.h.
uint32_t GCONF_t::sr |
Definition at line 7 of file TMC2130_bitfields.h.
bool GCONF_t::stop_enable |
Definition at line 24 of file TMC2130_bitfields.h.