TMCStepper
CHOPCONF_t Struct Reference

#include <TMC2130_bitfields.h>

Public Attributes

union {
   uint32_t   sr: 32
 
   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   __pad0__: 20
 
      uint8_t   tpfd: 4
 
      uint16_t   __pad1__: 7
 
      bool   diss2vs: 1
 
   } 
 
}; 
 

Static Public Attributes

constexpr static uint8_t address = 0x6C
 

Detailed Description

Definition at line 122 of file TMC2130_bitfields.h.

Member Data Documentation

◆ @23

union { ... }

◆ __pad0__

uint32_t CHOPCONF_t::__pad0__

Definition at line 145 of file TMC2130_bitfields.h.

◆ __pad1__

uint16_t CHOPCONF_t::__pad1__

Definition at line 147 of file TMC2130_bitfields.h.

◆ address

constexpr static uint8_t CHOPCONF_t::address = 0x6C
staticconstexpr

Definition at line 123 of file TMC2130_bitfields.h.

◆ chm

uint8_t bool CHOPCONF_t::chm

Definition at line 133 of file TMC2130_bitfields.h.

◆ dedge

bool CHOPCONF_t::dedge

Definition at line 141 of file TMC2130_bitfields.h.

◆ disfdcc

uint8_t bool CHOPCONF_t::disfdcc

Definition at line 130 of file TMC2130_bitfields.h.

◆ diss2g

bool CHOPCONF_t::diss2g

Definition at line 142 of file TMC2130_bitfields.h.

◆ diss2vs

bool CHOPCONF_t::diss2vs

Definition at line 148 of file TMC2130_bitfields.h.

◆ hend

uint8_t CHOPCONF_t::hend

Definition at line 129 of file TMC2130_bitfields.h.

◆ hstrt

uint8_t CHOPCONF_t::hstrt

Definition at line 128 of file TMC2130_bitfields.h.

◆ intpol

bool CHOPCONF_t::intpol

Definition at line 140 of file TMC2130_bitfields.h.

◆ mres

uint8_t CHOPCONF_t::mres

Definition at line 139 of file TMC2130_bitfields.h.

◆ rndtf

uint8_t bool CHOPCONF_t::rndtf

Definition at line 132 of file TMC2130_bitfields.h.

◆ sr

uint32_t CHOPCONF_t::sr

Definition at line 125 of file TMC2130_bitfields.h.

◆ sync

uint8_t CHOPCONF_t::sync

Definition at line 138 of file TMC2130_bitfields.h.

◆ tbl

uint8_t CHOPCONF_t::tbl

Definition at line 134 of file TMC2130_bitfields.h.

◆ toff

uint8_t CHOPCONF_t::toff

Definition at line 127 of file TMC2130_bitfields.h.

◆ tpfd

uint8_t CHOPCONF_t::tpfd

Definition at line 146 of file TMC2130_bitfields.h.

◆ vhighchm

bool CHOPCONF_t::vhighchm

Definition at line 137 of file TMC2130_bitfields.h.

◆ vhighfs

bool CHOPCONF_t::vhighfs

Definition at line 136 of file TMC2130_bitfields.h.

◆ vsense

bool CHOPCONF_t::vsense

Definition at line 135 of file TMC2130_bitfields.h.


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