TMCStepper
Library supporting Trinamic Stepper Drivers for Arduino platforms
Loading...
Searching...
No Matches
SW_MODE_t Struct Reference

#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

static constexpr uint8_t address = 0x34

Detailed Description

Definition at line 124 of file TMC5130_bitfields.h.

Member Data Documentation

◆ [union]

union { ... } SW_MODE_t

◆ address

uint8_t SW_MODE_t::address = 0x34
staticconstexpr

Definition at line 125 of file TMC5130_bitfields.h.

◆ en_latch_encoder

bool SW_MODE_t::en_latch_encoder

Definition at line 138 of file TMC5130_bitfields.h.

◆ en_softstop

bool SW_MODE_t::en_softstop

Definition at line 140 of file TMC5130_bitfields.h.

◆ latch_l_active

bool SW_MODE_t::latch_l_active

Definition at line 134 of file TMC5130_bitfields.h.

◆ latch_l_inactive

bool SW_MODE_t::latch_l_inactive

Definition at line 135 of file TMC5130_bitfields.h.

◆ latch_r_active

bool SW_MODE_t::latch_r_active

Definition at line 136 of file TMC5130_bitfields.h.

◆ latch_r_inactive

bool SW_MODE_t::latch_r_inactive

Definition at line 137 of file TMC5130_bitfields.h.

◆ pol_stop_l

bool SW_MODE_t::pol_stop_l

Definition at line 131 of file TMC5130_bitfields.h.

◆ pol_stop_r

bool SW_MODE_t::pol_stop_r

Definition at line 132 of file TMC5130_bitfields.h.

◆ sg_stop

bool SW_MODE_t::sg_stop

Definition at line 139 of file TMC5130_bitfields.h.

◆ sr

uint16_t SW_MODE_t::sr

Definition at line 127 of file TMC5130_bitfields.h.

◆ stop_l_enable

bool SW_MODE_t::stop_l_enable

Definition at line 129 of file TMC5130_bitfields.h.

◆ stop_r_enable

bool SW_MODE_t::stop_r_enable

Definition at line 130 of file TMC5130_bitfields.h.

◆ swap_lr

bool SW_MODE_t::swap_lr

Definition at line 133 of file TMC5130_bitfields.h.


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