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

Go to the source code of this file.

Macros

#define SET_REG(SETTING)   CHOPCONF_register.SETTING = B; write(CHOPCONF_register.address, CHOPCONF_register.sr)
 
#define GET_REG_2660(SETTING)   return CHOPCONF_register.SETTING;
 

Macro Definition Documentation

◆ GET_REG_2660

#define GET_REG_2660 (   SETTING)    return CHOPCONF_register.SETTING;

Definition at line 83 of file CHOPCONF.cpp.

◆ SET_REG

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

Definition at line 4 of file CHOPCONF.cpp.