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

Go to the source code of this file.

Macros

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

Macro Definition Documentation

◆ GET_REG

#define GET_REG (   SETTING)    return SGCSCONF_register.SETTING;

Definition at line 5 of file SGCSCONF.cpp.

◆ SET_REG

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

Definition at line 4 of file SGCSCONF.cpp.