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