Files
MyOwnEtherCATDevice/Firmware/include/Stepper.h
2023-12-31 09:17:42 +01:00

39 lines
1.2 KiB
C
Executable File

/* USER CODE BEGIN Header */
/**
******************************************************************************
* @file : main.h
* @brief : Header for main.c file.
* This file contains the common defines of the application.
******************************************************************************
* @attention
*
* Copyright (c) 2023 STMicroelectronics.
* All rights reserved.
*
* This software is licensed under terms that can be found in the LICENSE file
* in the root directory of this software component.
* If no LICENSE file comes with this software, it is provided AS-IS.
*
******************************************************************************
*/
/* USER CODE END Header */
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __MAIN_H
#define __MAIN_H
#ifdef __cplusplus
extern "C" {
#endif
void StepperSetup(void);
/* Includes ------------------------------------------------------------------*/
#include "stm32f4xx_hal.h"
void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim);
void makePulses(uint32_t totalLength /* µsec */, uint32_t nPulses);
#ifdef __cplusplus
}
#endif
#endif /* __MAIN_H */