TMCStepper
|
#include <TMC5130_bitfields.h>
Public Attributes | |
union { | |
uint16_t sr: 12 | |
struct { | |
bool stop_l_enable: 1 | |
bool stop_r_enable: 1 | |
bool pol_stop_l: 1 | |
bool pol_stop_r: 1 | |
bool swap_lr: 1 | |
bool latch_l_active: 1 | |
bool latch_l_inactive: 1 | |
bool latch_r_active: 1 | |
bool latch_r_inactive: 1 | |
bool en_latch_encoder: 1 | |
bool sg_stop: 1 | |
bool en_softstop: 1 | |
} | |
}; | |
Static Public Attributes | |
constexpr static uint8_t | address = 0x34 |
Definition at line 101 of file TMC5130_bitfields.h.
union { ... } |
|
staticconstexpr |
Definition at line 102 of file TMC5130_bitfields.h.
bool SW_MODE_t::en_latch_encoder |
Definition at line 115 of file TMC5130_bitfields.h.
bool SW_MODE_t::en_softstop |
Definition at line 117 of file TMC5130_bitfields.h.
bool SW_MODE_t::latch_l_active |
Definition at line 111 of file TMC5130_bitfields.h.
bool SW_MODE_t::latch_l_inactive |
Definition at line 112 of file TMC5130_bitfields.h.
bool SW_MODE_t::latch_r_active |
Definition at line 113 of file TMC5130_bitfields.h.
bool SW_MODE_t::latch_r_inactive |
Definition at line 114 of file TMC5130_bitfields.h.
bool SW_MODE_t::pol_stop_l |
Definition at line 108 of file TMC5130_bitfields.h.
bool SW_MODE_t::pol_stop_r |
Definition at line 109 of file TMC5130_bitfields.h.
bool SW_MODE_t::sg_stop |
Definition at line 116 of file TMC5130_bitfields.h.
uint16_t SW_MODE_t::sr |
Definition at line 104 of file TMC5130_bitfields.h.
bool SW_MODE_t::stop_l_enable |
Definition at line 106 of file TMC5130_bitfields.h.
bool SW_MODE_t::stop_r_enable |
Definition at line 107 of file TMC5130_bitfields.h.
bool SW_MODE_t::swap_lr |
Definition at line 110 of file TMC5130_bitfields.h.