您好,欢迎光临本网站![请登录][注册会员]  
文件名称: dspf2812官方例程
  所属分类: 嵌入式
  开发工具:
  文件大小: 211kb
  下载次数: 0
  上传时间: 2015-09-25
  提 供 者: kjksz******
 详细说明: #include "DSP281x_Device.h" // DSP281x Headerfile Include File #include "DSP281x_Examples.h" // DSP281x Examples Include File #pragma CODE_SECTION(eva_timer1_isr, "ramfuncs"); #pragma CODE_SECTION(eva_timer2_isr, "ramfuncs"); #pragma CODE_SECTION(evb_timer3_isr, "ramfuncs"); // Prototype statements for functions found within this file. interrupt void eva_timer1_isr(void); void init_eva_timer1(void); // Global variables used in this example Uint32 EvaTimer1InterruptCount ; // These are defined by the linker (see F2812.cmd) extern Uint16 RamfuncsLoadStart; extern Uint16 RamfuncsLoadEnd; extern Uint16 RamfuncsRunStart; void main(void) { InitSysCtrl(); DINT; InitPieCtrl(); IER = 0x0000; IFR = 0x0000; InitPieVectTable(); EALLOW; // This is needed to write to EALLOW protected registers PieVectTable.T1PINT = &eva_timer1_isr; EDIS; // This is needed to disable write to EALLOW protected registers init_eva_timer1(); MemCopy(&RamfuncsLoadStart, &RamfuncsLoadEnd, &RamfuncsRunStart); InitFlash(); EvaTimer1InterruptCount = 0; PieCtrlRegs.PIEIER2.all = M_INT4; IER |= M_INT2; EINT; // Enable Global interrupt INTM ERTM; // Enable Global realtime interrupt DBGM while(1); } ...展开收缩
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 相关搜索: dspf2812
 输入关键字,在本站1000多万海量源码库中尽情搜索: