/ TI File $Revision: /main/8 $
// Checkin $Date: April 21, 2008 15:41:53 $
//###########################################################################
//
// FILE: Example_2833xEPwmUpDownAQ.c
//
// TITLE: 空间电压矢量产生程序 SVPWM
//
// ASSUMPTIONS:
//
// This program requires the DSP2833x header files.
//
// Monitor ePWM1-ePWM3 pins on an oscilloscope as described
// below.
//
// EPWM1A is on GPIO0-------5 脚
// EPWM1B is on GPIO1-------6 脚
//
// EPWM2A is on GPIO2-------7 脚
// EPWM2B is on GPIO3-------10 脚
//
// EPWM3A is on GPIO4-------11 脚
// EPWM3B is on GPIO5-------12 脚
//
//
//###########################################################################
// $TI Release: DSP2833x/DSP2823x Header Files V1.20 $
// $Release Date: August 1, 2008 $
//###########################################################################
#include "DSP28x_Project.h" // Device Headerfile and Examples Include File
// Prototype statements for functions found within this file.
void InitEPwm1Example(void);
void InitEPwm2Example(void);
void InitEPwm3Example(void);
void svpwmGen(void);
interrupt void svpwm_isr(void);
volatile float Ualpha,Ubeta;
volatile float A,B,C;
评论0