www.pudn.com > tidcs.rar > Example_2823xEPwm_DMA.gel, change:2009-08-04,size:1157b


/* 
// TI File $Revision: /main/1 $ 
// Checkin $Date: June 19, 2008   10:35:47 $ 
//########################################################################### 
// 
// This .gel file can be used to help load and build the example project. 
// It should be unloaded from Code Composer Studio before loading another  
// project.  
// 
//########################################################################### 
// $TI Release: DSP2833x/DSP2823x C/C++ Header Files V1.31 $ 
// $Release Date: August 4, 2009 $ 
//########################################################################### 
*/ 
 
menuitem "DSP2823x ePWM DMA" 
 
hotmenu Load_and_Build_Project() 
{ 
   GEL_ProjectLoad("Example_2823xEPwm_DMA.pjt"); 
   GEL_ProjectBuild("Example_2823xEPwm_DMA.pjt"); 
   Setup_WatchWindow(); 
} 
 
hotmenu Load_Code() 
{ 
   GEL_Load(".\\debug\\Example_2823xEPwm_DMA.out"); 
   Setup_WatchWindow(); 
} 
 
hotmenu Setup_WatchWindow() 
{ 
   GEL_WatchReset(); 
   GEL_WatchAdd("EPwm1Regs.TBPRD,x"); 
   GEL_WatchAdd("EPwm1Regs.CMPA.all,x"); 
   GEL_WatchAdd("ADCbuffer,x"); 
   GEL_WatchAdd("InterruptCount,x");    
   GEL_WatchAdd("EPwm1Regs,x"); 
}