|
TMCStepper
Library supporting Trinamic Stepper Drivers for Arduino platforms
|
#include <TMC2130_bitfields.h>
Public Attributes | |
| union { | |
| uint32_t sr | |
| 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 | |
| uint16_t : 15 | |
| } | |
| struct { | |
| bool recalibrate: 1 | |
| bool faststandstill: 1 | |
| bool multistep_filt: 1 | |
| bool diag0_step: 1 | |
| bool diag1_dir: 1 | |
| bool diag1_poscomp_pushpull: 1 | |
| uint32_t : 18 | |
| } | |
| }; | |
Static Public Attributes | |
| static constexpr uint8_t | address = 0x00 |
TMCStepper library by @teemuatlut TMC2130_bitfields.h
TMC2130 hardware register bit fields: GCONF, GSTAT IHOLD_IRUN IOIN TPOWERDOWN, TPWMTHRS, TCOOLTHRS, THIGH XDIRECT VDCMIN CHOPCONF, COOLCONF, PWMCONF DCCTRL, ENCM_CTRL DRV_STATUS
Definition at line 19 of file TMC2130_bitfields.h.
| union { ... } GCONF_t |
| uint32_t GCONF_t::__pad0__ |
Definition at line 53 of file TMC2130_bitfields.h.
| uint16_t GCONF_t::__pad0__ |
Definition at line 41 of file TMC2130_bitfields.h.
|
staticconstexpr |
Definition at line 20 of file TMC2130_bitfields.h.
| bool GCONF_t::diag0_error |
Definition at line 29 of file TMC2130_bitfields.h.
| bool GCONF_t::diag0_int_pushpull |
Definition at line 36 of file TMC2130_bitfields.h.
| bool GCONF_t::diag0_otpw |
Definition at line 30 of file TMC2130_bitfields.h.
| bool GCONF_t::diag0_stall |
Definition at line 31 of file TMC2130_bitfields.h.
| bool GCONF_t::diag0_step |
Definition at line 49 of file TMC2130_bitfields.h.
| bool GCONF_t::diag1_dir |
Definition at line 50 of file TMC2130_bitfields.h.
| bool GCONF_t::diag1_index |
Definition at line 33 of file TMC2130_bitfields.h.
| bool GCONF_t::diag1_onstate |
Definition at line 34 of file TMC2130_bitfields.h.
| bool GCONF_t::diag1_poscomp_pushpull |
Definition at line 52 of file TMC2130_bitfields.h.
| bool GCONF_t::diag1_pushpull |
Definition at line 37 of file TMC2130_bitfields.h.
| bool GCONF_t::diag1_stall |
Definition at line 32 of file TMC2130_bitfields.h.
| bool GCONF_t::diag1_steps_skipped |
Definition at line 35 of file TMC2130_bitfields.h.
| bool GCONF_t::direct_mode |
Definition at line 40 of file TMC2130_bitfields.h.
| bool GCONF_t::en_pwm_mode |
Definition at line 26 of file TMC2130_bitfields.h.
| bool GCONF_t::enc_commutation |
Definition at line 27 of file TMC2130_bitfields.h.
| bool GCONF_t::faststandstill |
Definition at line 45 of file TMC2130_bitfields.h.
| bool GCONF_t::i_scale_analog |
Definition at line 24 of file TMC2130_bitfields.h.
| bool GCONF_t::internal_rsense |
Definition at line 25 of file TMC2130_bitfields.h.
| bool GCONF_t::multistep_filt |
Definition at line 47 of file TMC2130_bitfields.h.
| bool GCONF_t::recalibrate |
Definition at line 44 of file TMC2130_bitfields.h.
| bool GCONF_t::shaft |
Definition at line 28 of file TMC2130_bitfields.h.
| bool GCONF_t::small_hysteresis |
Definition at line 38 of file TMC2130_bitfields.h.
| uint32_t GCONF_t::sr |
Definition at line 22 of file TMC2130_bitfields.h.
| bool GCONF_t::stop_enable |
Definition at line 39 of file TMC2130_bitfields.h.