Commit Graph

5 Commits (445f7e47b178fd071656b0473d08330567b056fe)

Author SHA1 Message Date
Yuri D'Elia 445f7e47b1 TMC2130: Reformat 2021-07-05 11:54:06 +02:00
Yuri D'Elia e13a2d0f51 TMC2130: Make stepping methods static
To keep these methods efficient no member should be accessed away.
That's the reason MotorParams is passed explicitly for each.

Mark all stepping methods as static.
2021-07-04 23:22:25 +02:00
Yuri D'Elia 3825309305 Add vSense to MotorCurrents 2021-07-03 10:35:13 +02:00
Yuri D'Elia 3d54bd77d4 Revise the TMC2130 interface for stepping
Change the TMC2130 class after starting to review the Motion API.
Move motor mode handling and stepping to this module.

Create a new MotorParams class for compile-time settings (currently
pins, direction, microstepping).

Keep other settings separate, so that we can pass constexpr expressions
while stepping and still get 1 instruction without overhead.
2021-07-03 09:38:26 +02:00
D.R.racer f848c8d550 Create basic FW structure
- Design API's based on our discussion and block diagrams
- Set doxygen rules/preferred syntax
2021-04-19 07:03:47 +02:00