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

#include <TMC2660_bitfields.h>

Public Attributes

union { 
   uint32_t   sr 
   struct { 
      uint8_t   cb: 8 
      bool   phb: 1 
      uint8_t   ca: 8 
      bool   pha: 1 
   } 
}; 

Static Public Attributes

static constexpr uint8_t address = 0b00

Detailed Description

TMCStepper library by @teemuatlut TMC2660_bitfields.h

TMC2660 hardware register bit fields: DRVCTRL_1, DRVCTRL_0 SMARTEN CHOPCONF, SGCSCONF, DRVCONF READ_RDSEL00, READ_RDSEL01, READ_RDSEL10

Definition at line 14 of file TMC2660_bitfields.h.

Member Data Documentation

◆ [union]

union { ... } DRVCTRL_1_t

◆ address

uint8_t DRVCTRL_1_t::address = 0b00
staticconstexpr

Definition at line 15 of file TMC2660_bitfields.h.

◆ ca

uint8_t DRVCTRL_1_t::ca

Definition at line 21 of file TMC2660_bitfields.h.

◆ cb

uint8_t DRVCTRL_1_t::cb

Definition at line 19 of file TMC2660_bitfields.h.

◆ pha

bool DRVCTRL_1_t::pha

Definition at line 22 of file TMC2660_bitfields.h.

◆ phb

bool DRVCTRL_1_t::phb

Definition at line 20 of file TMC2660_bitfields.h.

◆ sr

uint32_t DRVCTRL_1_t::sr

Definition at line 17 of file TMC2660_bitfields.h.


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