TMCStepper
DRV_STATUS.cpp
Go to the documentation of this file.
1 #include "TMCStepper.h"
2 #include "TMC_MACROS.h"
3 
4 #define GET_REG(NS, SETTING) NS::DRV_STATUS_t r{0}; r.sr = DRV_STATUS(); return r.SETTING
5 
7 
19 
22 }
23 
TMC2208Stepper::s2gb
bool s2gb()
Definition: DRV_STATUS.cpp:27
TMC2208Stepper::s2ga
bool s2ga()
Definition: DRV_STATUS.cpp:26
TMC2208Stepper::cs_actual
uint16_t cs_actual()
Definition: DRV_STATUS.cpp:36
TMC2130Stepper::ot
bool ot()
Definition: DRV_STATUS.cpp:12
GET_REG
#define GET_REG(NS, SETTING)
Definition: DRV_STATUS.cpp:4
TMC2130Stepper::DRV_STATUS_t::address
constexpr static uint8_t address
Definition: TMCStepper.h:349
TMC2208Stepper::read
uint32_t read(uint8_t)
Definition: TMC2208Stepper.cpp:221
TMC2130Stepper::stallguard
bool stallguard()
Definition: DRV_STATUS.cpp:11
TMC2208Stepper::t150
bool t150()
Definition: DRV_STATUS.cpp:34
TMC2130Stepper::DRV_STATUS
uint32_t DRV_STATUS()
Definition: DRV_STATUS.cpp:6
TMC2130Stepper::ola
bool ola()
Definition: DRV_STATUS.cpp:16
TMCStepper.h
TMC2208Stepper::otpw
bool otpw()
Definition: DRV_STATUS.cpp:24
TMC2208Stepper::DRV_STATUS
uint32_t DRV_STATUS()
Definition: DRV_STATUS.cpp:20
TMC2130Stepper::cs_actual
uint8_t cs_actual()
Definition: DRV_STATUS.cpp:10
TMC2208Stepper::stealth
bool stealth()
Definition: DRV_STATUS.cpp:37
TMC2130Stepper::read
uint32_t read(uint8_t addressByte)
Definition: TMC2130Stepper.cpp:65
TMC2208Stepper::ot
bool ot()
Definition: DRV_STATUS.cpp:25
TMC_MACROS.h
TMC2130Stepper::fsactive
bool fsactive()
Definition: DRV_STATUS.cpp:9
TMC2208Stepper::s2vsb
bool s2vsb()
Definition: DRV_STATUS.cpp:29
TMC2208Stepper::ola
bool ola()
Definition: DRV_STATUS.cpp:30
TMC2208Stepper::t157
bool t157()
Definition: DRV_STATUS.cpp:35
TMC2208Stepper::olb
bool olb()
Definition: DRV_STATUS.cpp:31
TMC2130_n
Definition: TMC2130_bitfields.h:185
TMC2208_n
Definition: TMC2208_bitfields.h:4
TMC2208Stepper::s2vsa
bool s2vsa()
Definition: DRV_STATUS.cpp:28
TMC2130Stepper::olb
bool olb()
Definition: DRV_STATUS.cpp:17
TMC2130Stepper::sg_result
uint16_t sg_result()
Definition: DRV_STATUS.cpp:8
TMC2130Stepper::otpw
bool otpw()
Definition: DRV_STATUS.cpp:13
TMC2130Stepper::s2ga
bool s2ga()
Definition: DRV_STATUS.cpp:14
TMC2208Stepper::stst
bool stst()
Definition: DRV_STATUS.cpp:38
TMC2130Stepper::stst
bool stst()
Definition: DRV_STATUS.cpp:18
TMC2208_n::DRV_STATUS_t::address
constexpr static uint8_t address
Definition: TMC2208_bitfields.h:142
TMC2130Stepper::s2gb
bool s2gb()
Definition: DRV_STATUS.cpp:15
TMC2208Stepper::t143
bool t143()
Definition: DRV_STATUS.cpp:33
TMC2208Stepper::t120
bool t120()
Definition: DRV_STATUS.cpp:32