TMCStepper
Library supporting Trinamic Stepper Drivers for Arduino platforms
Loading...
Searching...
No Matches
DRVCTRL.cpp File Reference
#include "../TMCStepper.h"
#include "TMC_MACROS.h"
Include dependency graph for DRVCTRL.cpp:

Go to the source code of this file.

Macros

#define SET_REG0(SETTING)
#define SET_REG1(SETTING)
#define GET_REG0(SETTING)
#define GET_REG1(SETTING)

Macro Definition Documentation

◆ GET_REG0

#define GET_REG0 ( SETTING)
Value:
return DRVCTRL_0_register.SETTING

Definition at line 11 of file DRVCTRL.cpp.

◆ GET_REG1

#define GET_REG1 ( SETTING)
Value:
return DRVCTRL_1_register.SETTING

Definition at line 12 of file DRVCTRL.cpp.

◆ SET_REG0

#define SET_REG0 ( SETTING)
Value:
DRVCTRL_0_register.SETTING = B; DRVCTRL(DRVCTRL_0_register.sr)

TMCStepper library by @teemuatlut DRVCTRL.cpp - Driver Control TMC2660

Definition at line 9 of file DRVCTRL.cpp.

◆ SET_REG1

#define SET_REG1 ( SETTING)
Value:
DRVCTRL_1_register.SETTING = B; DRVCTRL(DRVCTRL_1_register.sr)

Definition at line 10 of file DRVCTRL.cpp.