文件名称:Lab309-ECAN
介绍说明--下载内容均来自于网络,请自行研究使用
一个dsp ecan的收发历程
慷慨赴死易 从容负重难-#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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Lab309-ECAN\can.wks
...........\cc_build_Debug.log
...........\Debug.lkf
...........\Example_2833xECanBack2Back.c
...........\Example_2833xECanBack2Back.gel
...........\Example_2833xECanBack2Back.paf2
...........\Example_2833xECanBack2Back.pjt
...........\Example_2833xECanBack2Back.sbl
...........\Debug\Can-self-Test.map
...........\.....\Can-self-Test.out
...........\.....\DSP2833x_ADC_cal.obj
...........\.....\DSP2833x_CodeStartBranch.obj
...........\.....\DSP2833x_DefaultIsr.obj
...........\.....\DSP2833x_ECan.obj
...........\.....\DSP2833x_GlobalVariableDefs.obj
...........\.....\DSP2833x_PieCtrl.obj
...........\.....\DSP2833x_PieVect.obj
...........\.....\DSP2833x_SysCtrl.obj
...........\.....\DSP2833x_usDelay.obj
...........\.....\Example_2833xECanBack2Back.map
...........\.....\Example_2833xECanBack2Back.obj
...........\.....\Example_2833xECanBack2Back.out
...........\Example_2833xECanBack2Back.CS_\FILE.CDX
...........\..............................\FILE.DBF
...........\..............................\FILE.FPT
...........\..............................\SYMBOL.CDX
...........\..............................\SYMBOL.DBF
...........\..............................\SYMBOL.FPT
...........\Debug
...........\Example_2833xECanBack2Back.CS_
Lab309-ECAN
...........\cc_build_Debug.log
...........\Debug.lkf
...........\Example_2833xECanBack2Back.c
...........\Example_2833xECanBack2Back.gel
...........\Example_2833xECanBack2Back.paf2
...........\Example_2833xECanBack2Back.pjt
...........\Example_2833xECanBack2Back.sbl
...........\Debug\Can-self-Test.map
...........\.....\Can-self-Test.out
...........\.....\DSP2833x_ADC_cal.obj
...........\.....\DSP2833x_CodeStartBranch.obj
...........\.....\DSP2833x_DefaultIsr.obj
...........\.....\DSP2833x_ECan.obj
...........\.....\DSP2833x_GlobalVariableDefs.obj
...........\.....\DSP2833x_PieCtrl.obj
...........\.....\DSP2833x_PieVect.obj
...........\.....\DSP2833x_SysCtrl.obj
...........\.....\DSP2833x_usDelay.obj
...........\.....\Example_2833xECanBack2Back.map
...........\.....\Example_2833xECanBack2Back.obj
...........\.....\Example_2833xECanBack2Back.out
...........\Example_2833xECanBack2Back.CS_\FILE.CDX
...........\..............................\FILE.DBF
...........\..............................\FILE.FPT
...........\..............................\SYMBOL.CDX
...........\..............................\SYMBOL.DBF
...........\..............................\SYMBOL.FPT
...........\Debug
...........\Example_2833xECanBack2Back.CS_
Lab309-ECAN