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

#include <TMC2130_bitfields.h>

Public Attributes

union { 
   uint32_t   sr 
   struct { 
      uint8_t   toff: 4 
      uint8_t   hstrt: 3 
      uint8_t   hend: 4 
      uint8_t bool   disfdcc: 1: 1 
      uint8_t bool   rndtf: 1 
      uint8_t bool   chm: 1 
      uint8_t   tbl: 2 
      bool   vsense: 1 
      bool   vhighfs: 1 
      bool   vhighchm: 1 
      uint8_t   sync: 4 
      uint8_t   mres: 4 
      bool   intpol: 1 
      bool   dedge: 1 
      bool   diss2g: 1 
   } 
   struct { 
      uint32_t   : 20 
      uint8_t   tpfd: 4 
      uint16_t   : 7 
      bool   diss2vs: 1 
   } 
}; 

Static Public Attributes

static constexpr uint8_t address = 0x6C

Detailed Description

Definition at line 142 of file TMC2130_bitfields.h.

Member Data Documentation

◆ [union]

union { ... } CHOPCONF_t

◆ __pad0__

uint32_t CHOPCONF_t::__pad0__

Definition at line 165 of file TMC2130_bitfields.h.

◆ __pad1__

uint16_t CHOPCONF_t::__pad1__

Definition at line 167 of file TMC2130_bitfields.h.

◆ address

uint8_t CHOPCONF_t::address = 0x6C
staticconstexpr

Definition at line 143 of file TMC2130_bitfields.h.

◆ chm

uint8_t bool CHOPCONF_t::chm

Definition at line 153 of file TMC2130_bitfields.h.

◆ dedge

bool CHOPCONF_t::dedge

Definition at line 161 of file TMC2130_bitfields.h.

◆ disfdcc

uint8_t bool CHOPCONF_t::disfdcc

Definition at line 151 of file TMC2130_bitfields.h.

◆ diss2g

bool CHOPCONF_t::diss2g

Definition at line 162 of file TMC2130_bitfields.h.

◆ diss2vs

bool CHOPCONF_t::diss2vs

Definition at line 168 of file TMC2130_bitfields.h.

◆ hend

uint8_t CHOPCONF_t::hend

Definition at line 149 of file TMC2130_bitfields.h.

◆ hstrt

uint8_t CHOPCONF_t::hstrt

Definition at line 148 of file TMC2130_bitfields.h.

◆ intpol

bool CHOPCONF_t::intpol

Definition at line 160 of file TMC2130_bitfields.h.

◆ mres

uint8_t CHOPCONF_t::mres

Definition at line 159 of file TMC2130_bitfields.h.

◆ rndtf

uint8_t bool CHOPCONF_t::rndtf

Definition at line 152 of file TMC2130_bitfields.h.

◆ sr

uint32_t CHOPCONF_t::sr

Definition at line 145 of file TMC2130_bitfields.h.

◆ sync

uint8_t CHOPCONF_t::sync

Definition at line 158 of file TMC2130_bitfields.h.

◆ tbl

uint8_t CHOPCONF_t::tbl

Definition at line 154 of file TMC2130_bitfields.h.

◆ toff

uint8_t CHOPCONF_t::toff

Definition at line 147 of file TMC2130_bitfields.h.

◆ tpfd

uint8_t CHOPCONF_t::tpfd

Definition at line 166 of file TMC2130_bitfields.h.

◆ vhighchm

bool CHOPCONF_t::vhighchm

Definition at line 157 of file TMC2130_bitfields.h.

◆ vhighfs

bool CHOPCONF_t::vhighfs

Definition at line 156 of file TMC2130_bitfields.h.

◆ vsense

bool CHOPCONF_t::vsense

Definition at line 155 of file TMC2130_bitfields.h.


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