29 lines
530 B
C++
29 lines
530 B
C++
#include "tmc2130.h"
|
|
|
|
namespace hal {
|
|
namespace tmc2130 {
|
|
|
|
void TMC2130::SetMode(const MotorParams ¶ms, MotorMode mode) {
|
|
// TODO
|
|
}
|
|
|
|
bool TMC2130::Init(const MotorParams ¶ms,
|
|
const MotorCurrents ¤ts,
|
|
MotorMode mode) {
|
|
// TODO
|
|
return true;
|
|
}
|
|
|
|
void TMC2130::SetEnabled(const MotorParams ¶ms, bool enabled) {
|
|
this->enabled = enabled;
|
|
}
|
|
|
|
void TMC2130::ClearStallguard(const MotorParams ¶ms) {
|
|
}
|
|
|
|
void TMC2130::Isr(const MotorParams ¶ms) {
|
|
}
|
|
|
|
} // namespace tmc2130
|
|
} // namespace hal
|