TMCStepper
Library supporting Trinamic Stepper Drivers for Arduino platforms
Loading...
Searching...
No Matches
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)
#define GET_REG(SETTING)
#define GET_REG_2208(SETTING)
#define GET_REG_2240(SETTING)

Macro Definition Documentation

◆ GET_REG

#define GET_REG ( SETTING)
Value:
return PWMCONF_register.SETTING

Definition at line 10 of file PWMCONF.cpp.

◆ GET_REG_2208

#define GET_REG_2208 ( SETTING)
Value:

Definition at line 69 of file PWMCONF.cpp.

◆ GET_REG_2240

#define GET_REG_2240 ( SETTING)
Value:

Definition at line 100 of file PWMCONF.cpp.

◆ SET_REG

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

TMCStepper library by @teemuatlut PWMCONF.cpp - PWM Configuration TMC2130 (TMC2160, TMC5130, TMC5160, TMC5161), TMC2160 (TMC5130, TMC5160, TMC5161), TMC2208 (TMC2209, TMC2224)

Definition at line 9 of file PWMCONF.cpp.