步进电机插补算法stm

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

#include ""

#include ""

#include ""

#include <>

#include ""

#include ""

#include ""

#include <>

void RCC_Configuration(void); void GPIO_Configuration(void); void NVIC_Configuration(void); void TIM_Configuration(void); void USART_Configuration(void); int fputc(int ch,FILE *f);

int fgetc(FILE *f);

float Mx=,My=; * This file provides template for all exceptions handler and

* peripherals interrupt service routine.

************************************************************************ ******

* @copy

*

* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS

* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE

* TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY * DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING

* FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE

* CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.

*

*

© COPYRIGHT 2009 STMicroelectronics

*/

/* Includes ------------------------------------------------------------------*/

#include ""

#include ""

#include ""

#include ""

#include ""

#include ""

#include <>

/** @addtogroup Template_Project

* @{

*/

/* Private typedef

-----------------------------------------------------------*/

/* Private define

------------------------------------------------------------*/

/* Private macro

-------------------------------------------------------------*/

/* Private variables

---------------------------------------------------------*/

/* Private function prototypes

-----------------------------------------------*/

/* Private functions

---------------------------------------------------------*/

/***********************************************************************

*******/

/* Cortex-M3 Processor Exceptions Handlers */

/***********************************************************************

*******/

/**

* @brief This function handles NMI exception.

* @param None

* @retval : None

*/

void NMI_Handler(void)

{

}

/**

* @brief This function handles Hard Fault exception.

* @param None

* @retval : None

*/

void HardFault_Handler(void)

{

/* Go to infinite loop when Hard Fault exception occurs */ * @param None

相关文档
最新文档