📄 vhz.h
字号:
/* ==============================================================================
System Name: ACI3_1
File Name: VHZ.H
Description: Primary header file for the implementation of Sensored constant
Volt/Hertz control of a Three Phase AC Induction Motor.
Originator: Digital control systems Group - Texas Instruments
Target dependency: x240/1/2/3/07
To Select the target device see target.h file.
=====================================================================================
History:
-------------------------------------------------------------------------------------
9-15-2000 Release Rev 1.0
================================================================================= */
/*-----------------------------------------------------------------------------*/
/* Get target information. */
/*-----------------------------------------------------------------------------*/
#include <TARGET.H>
#if (TARGET==F243)
#include <regs24x.h>
#endif
#if (TARGET==F2407)
#include <regs240x.h>
#endif
/*-------------------------------------------------------------------------------
Get buildlevel information.
-------------------------------------------------------------------------------*/
#include <build.h>
/*------------------------------------------------------------------------------
Include file containing the system vectors.
These must be set up correctly for the interrupt mechanisms to work
------------------------------------------------------------------------------*/
#include <sysvecs.h>
/*-------------------------------------------------------------------------------
Next, Include project specific include files.
-------------------------------------------------------------------------------*/
#include <evmdac.h> /* Get Constants etc for the EVMDAC */
#include <pwmgen.h> /* Get Constants etc for the PWM Generators */
#include <capture.h> /* Get constants and defs for the Capture */
#include <watchdog.h> /* Get the watchdog driver interface */
#include <speed_pr.h> /* Get constants and defs for the Speed PR Obj */
#include <vhz_ti.h> /* Include header for the Vhz object */
#include <drive.h> /* Include header for the DRIVE object */
/*-------------------------------------------------------------------------------
Miscellaneous Items.
-------------------------------------------------------------------------------*/
typedef struct {int a,b,c ;} triad ;
/*-------------------------------------------------------------------------------
Function Prototypes for the functions implemented in VHZCRT.C
-------------------------------------------------------------------------------*/
void RstSystem(void);
void RstSystem(void);
void rtmon_init(void);
void interrupt c_int02();
void interrupt phantom(void);
#ifndef TRUE
#define FALSE ((Bool)0)
#define TRUE ((Bool)1)
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -