⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 main.c

📁 DSP三相交流同步电机矢量控制(C程序_经典著作)
💻 C
字号:
/**
* @file main.c
*
* Copyright (c) 2005 Atmel.
*
* @brief This module provide services to show a simple program for  AT90PWM3 Only
* @version 1.0 (CVS revision : $Revision: 1.15 $)
* @date $Date: 2005/06/30 09:17:19 $
* @author $Author: gallain $
*****************************************************************************/
#include "config.h"

#include "mc_lib.h"
#include "mc_control.h"
#include "mc_drv.h"
#include "serial.h"

#include "adc\adc_drv.h"
#include <stdio.h>
#include "mc_test_procedure.h"

U16 g_regulation_period = 0;  //!< Define the sampling period
U16 motor_speed = 0;          //!< User Speed Order
extern Bool g_tic;            //see mc_drv.c Use for sampling time


//! Main user routine.
//!
//! The main user routine provides an UART control for the motor.
//! The mc_regulation_loop() function is launched every 80ms.
//! '0,1,2,3' are used to set the speed of the motor.
//! '&,

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -