stepper; doesnt work
This commit is contained in:
1 parent
830bc0849a
commit
634b69a55c
7 files changed
+74
-16
No files matched your search
@@ -1,4 +1,5 @@
|
||||
#include "Console.h"
|
||||
#include <stdlib.h>
|
||||
#include "Spindle.h"
|
||||
#include "main.h"
|
||||
#include "FreeRTOS.h"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#include "Spindle.h"
|
||||
#include "main.h"
|
||||
#include "FreeRTOS.h"
|
||||
#include "task.h"
|
||||
#include "openamp.h"
|
||||
#include "LibL6474.h"
|
||||
#include <stddef.h>
|
||||
@@ -12,12 +13,14 @@ static void StepLibraryFree( const void* const ptr );
|
||||
|
||||
static int StepDriverSpiTransfer( void* pIO, char* pRX, const char* pTX, unsigned int length );
|
||||
|
||||
void StepDriverReset();
|
||||
void StepDriverReset(void* pGPO, const int ena);
|
||||
|
||||
void StepLibraryDelay();
|
||||
void StepLibraryDelay(unsigned int ms);
|
||||
|
||||
void StepTimerAsync();
|
||||
//void StepTimerAsync();
|
||||
|
||||
void StepTimerCancelAsync();
|
||||
//void StepTimerCancelAsync();
|
||||
|
||||
L6474_Handle_t init_stepper();
|
||||
L6474_Handle_t init_stepper(void* pIO, void* pGPO, void* pPWM);
|
||||
|
||||
void reset_stepper();
|
||||
@@ -109,6 +109,7 @@ void Error_Handler(void);
|
||||
/* USER CODE END Private defines */
|
||||
|
||||
extern TIM_HandleTypeDef htim2;
|
||||
extern SPI_HandleTypeDef hspi1;
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user