TMCStepper
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

constexpr static uint8_t address = 0x34
 

Detailed Description

Definition at line 101 of file TMC5130_bitfields.h.

Member Data Documentation

◆ @149

union { ... }

◆ address

constexpr static uint8_t SW_MODE_t::address = 0x34
staticconstexpr

Definition at line 102 of file TMC5130_bitfields.h.

◆ en_latch_encoder

bool SW_MODE_t::en_latch_encoder

Definition at line 115 of file TMC5130_bitfields.h.

◆ en_softstop

bool SW_MODE_t::en_softstop

Definition at line 117 of file TMC5130_bitfields.h.

◆ latch_l_active

bool SW_MODE_t::latch_l_active

Definition at line 111 of file TMC5130_bitfields.h.

◆ latch_l_inactive

bool SW_MODE_t::latch_l_inactive

Definition at line 112 of file TMC5130_bitfields.h.

◆ latch_r_active

bool SW_MODE_t::latch_r_active

Definition at line 113 of file TMC5130_bitfields.h.

◆ latch_r_inactive

bool SW_MODE_t::latch_r_inactive

Definition at line 114 of file TMC5130_bitfields.h.

◆ pol_stop_l

bool SW_MODE_t::pol_stop_l

Definition at line 108 of file TMC5130_bitfields.h.

◆ pol_stop_r

bool SW_MODE_t::pol_stop_r

Definition at line 109 of file TMC5130_bitfields.h.

◆ sg_stop

bool SW_MODE_t::sg_stop

Definition at line 116 of file TMC5130_bitfields.h.

◆ sr

uint16_t SW_MODE_t::sr

Definition at line 104 of file TMC5130_bitfields.h.

◆ stop_l_enable

bool SW_MODE_t::stop_l_enable

Definition at line 106 of file TMC5130_bitfields.h.

◆ stop_r_enable

bool SW_MODE_t::stop_r_enable

Definition at line 107 of file TMC5130_bitfields.h.

◆ swap_lr

bool SW_MODE_t::swap_lr

Definition at line 110 of file TMC5130_bitfields.h.


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