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

Go to the source code of this file.

Macros

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

Macro Definition Documentation

◆ GET_REG

#define GET_REG (   SETTING)    return PWMCONF_register.SETTING

Definition at line 5 of file PWMCONF.cpp.

◆ SET_REG

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

Definition at line 4 of file PWMCONF.cpp.