This commit is contained in:
bmy
2024-04-30 09:57:59 +08:00
parent 200b5703f9
commit 13d9324385
9 changed files with 159 additions and 149 deletions

10
app/by_stepper.h Normal file
View File

@@ -0,0 +1,10 @@
#include "at32f413.h"
typedef enum stepper_speed_t {
STEPPER_SPEED_DIV0 = 0,
STEPPER_SPEED_DIV2 = 2,
STEPPER_SPEED_DIV4 = 4,
STEPPER_SPEED_DIV8 = 8,
STEPPER_SPEED_DIV16 = 16,
STEPPER_SPEED_DIV32 = 32
} stepper_speed_t;