bldcmotor.h
来自「附件程序是我用DSP2812开发的无刷直流电机控制程序」· C头文件 代码 · 共 45 行
H
45 行
/* ==============================================================================
System Name: BLDCMotor
File Name: BLDCMotor.H
Description: Primary system header file for the Real Implementation of Sensored
Trapezoidal Drive for a Three Phase Brushless DC Motor (BLDC) using
Hall Effect sensor
Originator: Digital control systems Group - Texas Instruments
Note: In this software, the default inverter is supposed to be DMC1500 board.
=====================================================================================
History:
-------------------------------------------------------------------------------------
04-15-2005 Version 3.20: Support both F280x and F281x targets
04-25-2005 Version 3.21: Move EINT and ERTM down to ensure that all initialization
is completed before interrupts are allowed.
================================================================================= */
#ifndef BLDCMotor_H
#define BLDCMotor_H
/*-------------------------------------------------------------------------------
Next, Include project specific include files.
-------------------------------------------------------------------------------*/
#include "pid_reg3.h" // Include header for the PIDREG3 object
#include "rmp2cntl.h" // Include header for the RMP2 object
#include "mod6_cnt.h" // Include header for the MOD6CNT object
#include "speed_pr.h" // Include header for the SPEED_MEAS_REV object
#include "rmp_cntl.h" // Include header for the RMPCNTL object
// Driver for SY_MCK2812LV
#include "DSP281x_BLDCPWM.h" // Include header for the PWMGEN object
#include "DSP281x_Hall3.h" // Include header for the HALL3 object
#include "DSP281x_ADC04U.h" // Include header for the ADCVALS object
#include "DLOG4CH.h" // Include header for the DLOG_4CH object
#endif // end of BLDCMotor.H definition
//===========================================================================
// No more.
//===========================================================================
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?