文件名称:Lab308-EPWM
介绍说明--下载内容均来自于网络,请自行研究使用
一个dsp28335 epwm产生代码
慷慨赴死易 从容负重难-#include "DSP2833x_Device.h" // DSP2833x Headerfile Include File
#include "DSP2833x_Examples.h" // DSP2833x Examples Include File
#include "ctr.h"
#include "PID.h"
#include "scancode.h"
// Prototype statements for functions found within this file.
interrupt void cpu_timer0_isr(void)
#define LEDS*(int*)0x180000
#define port8000 (*((unsigned int*)0x208000))
#define port8001 (*((unsigned int*)0x208001))
#define port8002 (*((unsigned int*)0x208002))
#define port8003 (*((unsigned int*)0x208003))
#define port8004 (*((unsigned int*)0x208004))
#define port8007 (*((unsigned int*)0x208007))
void Gpio_select(void)
void Gpio_PortB(void)
void Gpio_PortA(void)
void ShowParameters()
void LCDPutString(unsigned int*pData,int x,int y,unsigned int nCharNumber,unsigned color)
void PIDControl(int rk,int yk)
char ConvertScanToChar(unsigned char cScanCode)
void Delay(unsigned int nTime) // 延时子程序
Uint16 var1 = 0
Uint16 var2 = 0
Uint16 var3 = 0
Uint16 test_co
慷慨赴死易 从容负重难-#include "DSP2833x_Device.h" // DSP2833x Headerfile Include File
#include "DSP2833x_Examples.h" // DSP2833x Examples Include File
#include "ctr.h"
#include "PID.h"
#include "scancode.h"
// Prototype statements for functions found within this file.
interrupt void cpu_timer0_isr(void)
#define LEDS*(int*)0x180000
#define port8000 (*((unsigned int*)0x208000))
#define port8001 (*((unsigned int*)0x208001))
#define port8002 (*((unsigned int*)0x208002))
#define port8003 (*((unsigned int*)0x208003))
#define port8004 (*((unsigned int*)0x208004))
#define port8007 (*((unsigned int*)0x208007))
void Gpio_select(void)
void Gpio_PortB(void)
void Gpio_PortA(void)
void ShowParameters()
void LCDPutString(unsigned int*pData,int x,int y,unsigned int nCharNumber,unsigned color)
void PIDControl(int rk,int yk)
char ConvertScanToChar(unsigned char cScanCode)
void Delay(unsigned int nTime) // 延时子程序
Uint16 var1 = 0
Uint16 var2 = 0
Uint16 var3 = 0
Uint16 test_co
相关搜索: epwm
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Lab308-EPWM\cc_build_Debug.log
...........\Debug.lkf
...........\Example_2833xEPwmUpAQ.c
...........\Example_2833xEPwmUpAQ.gel
...........\Example_2833xEPwmUpAQ.paf2
...........\Example_2833xEPwmUpAQ.pjt
...........\Example_2833xEPwmUpAQ.sbl
...........\Debug\DSP2833x_ADC_cal.obj
...........\.....\DSP2833x_CodeStartBranch.obj
...........\.....\DSP2833x_CpuTimers.obj
...........\.....\DSP2833x_DefaultIsr.obj
...........\.....\DSP2833x_EPwm.obj
...........\.....\DSP2833x_GlobalVariableDefs.obj
...........\.....\DSP2833x_PieCtrl.obj
...........\.....\DSP2833x_PieVect.obj
...........\.....\DSP2833x_SysCtrl.obj
...........\.....\DSP2833x_usDelay.obj
...........\.....\Example_2833xEPwmUpAQ.map
...........\.....\Example_2833xEPwmUpAQ.obj
...........\.....\Example_2833xEPwmUpAQ.out
...........\Example_2833xEPwmUpAQ.CS_\FILE.CDX
...........\.........................\FILE.DBF
...........\.........................\FILE.FPT
...........\.........................\SYMBOL.CDX
...........\.........................\SYMBOL.DBF
...........\.........................\SYMBOL.FPT
...........\Debug
...........\Example_2833xEPwmUpAQ.CS_
Lab308-EPWM
...........\Debug.lkf
...........\Example_2833xEPwmUpAQ.c
...........\Example_2833xEPwmUpAQ.gel
...........\Example_2833xEPwmUpAQ.paf2
...........\Example_2833xEPwmUpAQ.pjt
...........\Example_2833xEPwmUpAQ.sbl
...........\Debug\DSP2833x_ADC_cal.obj
...........\.....\DSP2833x_CodeStartBranch.obj
...........\.....\DSP2833x_CpuTimers.obj
...........\.....\DSP2833x_DefaultIsr.obj
...........\.....\DSP2833x_EPwm.obj
...........\.....\DSP2833x_GlobalVariableDefs.obj
...........\.....\DSP2833x_PieCtrl.obj
...........\.....\DSP2833x_PieVect.obj
...........\.....\DSP2833x_SysCtrl.obj
...........\.....\DSP2833x_usDelay.obj
...........\.....\Example_2833xEPwmUpAQ.map
...........\.....\Example_2833xEPwmUpAQ.obj
...........\.....\Example_2833xEPwmUpAQ.out
...........\Example_2833xEPwmUpAQ.CS_\FILE.CDX
...........\.........................\FILE.DBF
...........\.........................\FILE.FPT
...........\.........................\SYMBOL.CDX
...........\.........................\SYMBOL.DBF
...........\.........................\SYMBOL.FPT
...........\Debug
...........\Example_2833xEPwmUpAQ.CS_
Lab308-EPWM