TMCStepper
TMC2208_n::GCONF_t Struct Reference

#include <TMC2208_bitfields.h>

Public Attributes

union {
   uint16_t   sr: 10
 
   struct {
      bool   i_scale_analog: 1
 
      bool   internal_rsense: 1
 
      bool   en_spreadcycle: 1
 
      bool   shaft: 1
 
      bool   index_otpw: 1
 
      bool   index_step: 1
 
      bool   pdn_disable: 1
 
      bool   mstep_reg_select: 1
 
      bool   multistep_filt: 1
 
      bool   test_mode: 1
 
   } 
 
}; 
 

Static Public Attributes

constexpr static uint8_t address = 0x00
 

Detailed Description

Definition at line 5 of file TMC2208_bitfields.h.

Member Data Documentation

◆ @61

union { ... }

◆ address

constexpr static uint8_t TMC2208_n::GCONF_t::address = 0x00
staticconstexpr

Definition at line 6 of file TMC2208_bitfields.h.

◆ en_spreadcycle

bool TMC2208_n::GCONF_t::en_spreadcycle

Definition at line 12 of file TMC2208_bitfields.h.

◆ i_scale_analog

bool TMC2208_n::GCONF_t::i_scale_analog

Definition at line 10 of file TMC2208_bitfields.h.

◆ index_otpw

bool TMC2208_n::GCONF_t::index_otpw

Definition at line 14 of file TMC2208_bitfields.h.

◆ index_step

bool TMC2208_n::GCONF_t::index_step

Definition at line 15 of file TMC2208_bitfields.h.

◆ internal_rsense

bool TMC2208_n::GCONF_t::internal_rsense

Definition at line 11 of file TMC2208_bitfields.h.

◆ mstep_reg_select

bool TMC2208_n::GCONF_t::mstep_reg_select

Definition at line 17 of file TMC2208_bitfields.h.

◆ multistep_filt

bool TMC2208_n::GCONF_t::multistep_filt

Definition at line 18 of file TMC2208_bitfields.h.

◆ pdn_disable

bool TMC2208_n::GCONF_t::pdn_disable

Definition at line 16 of file TMC2208_bitfields.h.

◆ shaft

bool TMC2208_n::GCONF_t::shaft

Definition at line 13 of file TMC2208_bitfields.h.

◆ sr

uint16_t TMC2208_n::GCONF_t::sr

Definition at line 8 of file TMC2208_bitfields.h.

◆ test_mode

bool TMC2208_n::GCONF_t::test_mode

Definition at line 19 of file TMC2208_bitfields.h.


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