TMCStepper
DRV_CONF.cpp File Reference
#include "TMCStepper.h"
#include "TMC_MACROS.h"
+ Include dependency graph for DRV_CONF.cpp:

Go to the source code of this file.

Macros

#define SET_REG(SETTING)   DRV_CONF_register.SETTING = B; write(DRV_CONF_register.address, DRV_CONF_register.sr);
 
#define GET_REG(SETTING)   return DRV_CONF_register.SETTING;
 

Macro Definition Documentation

◆ GET_REG

#define GET_REG (   SETTING)    return DRV_CONF_register.SETTING;

Definition at line 5 of file DRV_CONF.cpp.

◆ SET_REG

#define SET_REG (   SETTING)    DRV_CONF_register.SETTING = B; write(DRV_CONF_register.address, DRV_CONF_register.sr);

Definition at line 4 of file DRV_CONF.cpp.