TMCStepper
GCONF_t Struct Reference

#include <TMC2130_bitfields.h>

Public Attributes

union {
   uint32_t   sr: 18
 
   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
 
   } 
 
   struct {
      bool   recalibrate: 1
 
      bool   faststandstill: 1
 
      bool   multistep_filt: 1
 
      bool   diag0_step: 1
 
      bool   diag1_dir: 1
 
      bool   diag1_poscomp_pushpull: 1
 
   } 
 
}; 
 

Static Public Attributes

constexpr static uint8_t address = 0x00
 

Detailed Description

Definition at line 4 of file TMC2130_bitfields.h.

Member Data Documentation

◆ @1

union { ... }

◆ address

constexpr static uint8_t GCONF_t::address = 0x00
staticconstexpr

Definition at line 5 of file TMC2130_bitfields.h.

◆ diag0_error

bool GCONF_t::diag0_error

Definition at line 14 of file TMC2130_bitfields.h.

◆ diag0_int_pushpull

bool GCONF_t::diag0_int_pushpull

Definition at line 21 of file TMC2130_bitfields.h.

◆ diag0_otpw

bool GCONF_t::diag0_otpw

Definition at line 15 of file TMC2130_bitfields.h.

◆ diag0_stall

bool GCONF_t::diag0_stall

Definition at line 16 of file TMC2130_bitfields.h.

◆ diag0_step

bool GCONF_t::diag0_step

Definition at line 32 of file TMC2130_bitfields.h.

◆ diag1_dir

bool GCONF_t::diag1_dir

Definition at line 34 of file TMC2130_bitfields.h.

◆ diag1_index

bool GCONF_t::diag1_index

Definition at line 18 of file TMC2130_bitfields.h.

◆ diag1_onstate

bool GCONF_t::diag1_onstate

Definition at line 19 of file TMC2130_bitfields.h.

◆ diag1_poscomp_pushpull

bool GCONF_t::diag1_poscomp_pushpull

Definition at line 35 of file TMC2130_bitfields.h.

◆ diag1_pushpull

bool GCONF_t::diag1_pushpull

Definition at line 22 of file TMC2130_bitfields.h.

◆ diag1_stall

bool GCONF_t::diag1_stall

Definition at line 17 of file TMC2130_bitfields.h.

◆ diag1_steps_skipped

bool GCONF_t::diag1_steps_skipped

Definition at line 20 of file TMC2130_bitfields.h.

◆ direct_mode

bool GCONF_t::direct_mode

Definition at line 25 of file TMC2130_bitfields.h.

◆ en_pwm_mode

bool GCONF_t::en_pwm_mode

Definition at line 11 of file TMC2130_bitfields.h.

◆ enc_commutation

bool GCONF_t::enc_commutation

Definition at line 12 of file TMC2130_bitfields.h.

◆ faststandstill

bool GCONF_t::faststandstill

Definition at line 29 of file TMC2130_bitfields.h.

◆ i_scale_analog

bool GCONF_t::i_scale_analog

Definition at line 9 of file TMC2130_bitfields.h.

◆ internal_rsense

bool GCONF_t::internal_rsense

Definition at line 10 of file TMC2130_bitfields.h.

◆ multistep_filt

bool GCONF_t::multistep_filt

Definition at line 30 of file TMC2130_bitfields.h.

◆ recalibrate

bool GCONF_t::recalibrate

Definition at line 28 of file TMC2130_bitfields.h.

◆ shaft

bool GCONF_t::shaft

Definition at line 13 of file TMC2130_bitfields.h.

◆ small_hysteresis

bool GCONF_t::small_hysteresis

Definition at line 23 of file TMC2130_bitfields.h.

◆ sr

uint32_t GCONF_t::sr

Definition at line 7 of file TMC2130_bitfields.h.

◆ stop_enable

bool GCONF_t::stop_enable

Definition at line 24 of file TMC2130_bitfields.h.


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