文件名称:Lab407-Dcmotor
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:353.78kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
一个dsp 直流电机控制的例子
慷慨赴死易 从容负重难-#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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Lab407-Dcmotor/cc_build_Debug.log
Lab407-Dcmotor/Dcmotor.c
Lab407-Dcmotor/Dcmotor.paf2
Lab407-Dcmotor/Dcmotor.pjt
Lab407-Dcmotor/Dcmotor.sbl
Lab407-Dcmotor/Debug.lkf
Lab407-Dcmotor/Dcmotor.CS_/FILE.CDX
Lab407-Dcmotor/Dcmotor.CS_/FILE.DBF
Lab407-Dcmotor/Dcmotor.CS_/FILE.FPT
Lab407-Dcmotor/Dcmotor.CS_/SYMBOL.CDX
Lab407-Dcmotor/Dcmotor.CS_/SYMBOL.DBF
Lab407-Dcmotor/Dcmotor.CS_/SYMBOL.FPT
Lab407-Dcmotor/Debug/Dcmotor.map
Lab407-Dcmotor/Debug/Dcmotor.obj
Lab407-Dcmotor/Debug/Dcmotor.out
Lab407-Dcmotor/Debug/DSP2833x_ADC_cal.obj
Lab407-Dcmotor/Debug/DSP2833x_CodeStartBranch.obj
Lab407-Dcmotor/Debug/DSP2833x_CpuTimers.obj
Lab407-Dcmotor/Debug/DSP2833x_DefaultIsr.obj
Lab407-Dcmotor/Debug/DSP2833x_GlobalVariableDefs.obj
Lab407-Dcmotor/Debug/DSP2833x_Gpio.obj
Lab407-Dcmotor/Debug/DSP2833x_PieCtrl.obj
Lab407-Dcmotor/Debug/DSP2833x_PieVect.obj
Lab407-Dcmotor/Debug/DSP2833x_SysCtrl.obj
Lab407-Dcmotor/Debug/DSP2833x_usDelay.obj
Lab407-Dcmotor/Debug/DSP2833x_Xintf.obj
Lab407-Dcmotor/Dcmotor.CS_
Lab407-Dcmotor/Debug
Lab407-Dcmotor
Lab407-Dcmotor/Dcmotor.c
Lab407-Dcmotor/Dcmotor.paf2
Lab407-Dcmotor/Dcmotor.pjt
Lab407-Dcmotor/Dcmotor.sbl
Lab407-Dcmotor/Debug.lkf
Lab407-Dcmotor/Dcmotor.CS_/FILE.CDX
Lab407-Dcmotor/Dcmotor.CS_/FILE.DBF
Lab407-Dcmotor/Dcmotor.CS_/FILE.FPT
Lab407-Dcmotor/Dcmotor.CS_/SYMBOL.CDX
Lab407-Dcmotor/Dcmotor.CS_/SYMBOL.DBF
Lab407-Dcmotor/Dcmotor.CS_/SYMBOL.FPT
Lab407-Dcmotor/Debug/Dcmotor.map
Lab407-Dcmotor/Debug/Dcmotor.obj
Lab407-Dcmotor/Debug/Dcmotor.out
Lab407-Dcmotor/Debug/DSP2833x_ADC_cal.obj
Lab407-Dcmotor/Debug/DSP2833x_CodeStartBranch.obj
Lab407-Dcmotor/Debug/DSP2833x_CpuTimers.obj
Lab407-Dcmotor/Debug/DSP2833x_DefaultIsr.obj
Lab407-Dcmotor/Debug/DSP2833x_GlobalVariableDefs.obj
Lab407-Dcmotor/Debug/DSP2833x_Gpio.obj
Lab407-Dcmotor/Debug/DSP2833x_PieCtrl.obj
Lab407-Dcmotor/Debug/DSP2833x_PieVect.obj
Lab407-Dcmotor/Debug/DSP2833x_SysCtrl.obj
Lab407-Dcmotor/Debug/DSP2833x_usDelay.obj
Lab407-Dcmotor/Debug/DSP2833x_Xintf.obj
Lab407-Dcmotor/Dcmotor.CS_
Lab407-Dcmotor/Debug
Lab407-Dcmotor
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.