|
|
@ -117,6 +117,9 @@ class TMC4361A : public IStepperMotor { |
|
|
|
virtual void setIHOLD_IRUN(uint8_t ihold, uint8_t irun, uint16_t iholddelay) { driverIC_setIHOLD_IRUN(ihold, irun, iholddelay); } |
|
|
|
virtual void setMotorShaft(bool reverse) { driverIC_setMotorShaft(reverse); } |
|
|
|
|
|
|
|
//????????????
|
|
|
|
void setGLOBAL_SCALER(int32_t value); |
|
|
|
|
|
|
|
virtual void setScale(int32_t scale); |
|
|
|
virtual void setScaleDenominator(int32_t scale); |
|
|
|
|
|
|
@ -148,6 +151,7 @@ class TMC4361A : public IStepperMotor { |
|
|
|
int32_t readInt(uint8_t address); |
|
|
|
void readWriteCover(uint8_t *data, size_t length); |
|
|
|
void writeSubRegister(uint8_t address, uint32_t mask, uint32_t shift, uint32_t value); |
|
|
|
// ????????????
|
|
|
|
|
|
|
|
int32_t getENC_POS_DEV(); // ENC_POSºÍXACTUALµÄÆ«²î
|
|
|
|
uint32_t readEVENTS(); // ¶Áȡʼþ¼Ä´æ
|
|
|
|