TMCStepper
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)   DRVCTRL_0_register.SETTING = B; DRVCTRL(DRVCTRL_0_register.sr)
 
#define SET_REG1(SETTING)   DRVCTRL_1_register.SETTING = B; DRVCTRL(DRVCTRL_1_register.sr)
 
#define GET_REG0(SETTING)   return DRVCTRL_0_register.SETTING
 
#define GET_REG1(SETTING)   return DRVCTRL_1_register.SETTING
 

Macro Definition Documentation

◆ GET_REG0

#define GET_REG0 (   SETTING)    return DRVCTRL_0_register.SETTING

Definition at line 6 of file DRVCTRL.cpp.

◆ GET_REG1

#define GET_REG1 (   SETTING)    return DRVCTRL_1_register.SETTING

Definition at line 7 of file DRVCTRL.cpp.

◆ SET_REG0

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

Definition at line 4 of file DRVCTRL.cpp.

◆ SET_REG1

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

Definition at line 5 of file DRVCTRL.cpp.