44 lines
1.1 KiB
Plaintext
44 lines
1.1 KiB
Plaintext
/*
|
|
// TI File $Revision: /main/1 $
|
|
// Checkin $Date: June 19, 2008 10:25:20 $
|
|
//###########################################################################
|
|
//
|
|
// 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 Header Files V1.20 $
|
|
// $Release Date: August 1, 2008 $
|
|
//###########################################################################
|
|
*/
|
|
|
|
menuitem "DSP2833x ePWM DMA"
|
|
|
|
hotmenu Load_and_Build_Project()
|
|
{
|
|
GEL_ProjectLoad("Example_2833xEPwm_DMA.pjt");
|
|
GEL_ProjectBuild("Example_2833xEPwm_DMA.pjt");
|
|
Setup_WatchWindow();
|
|
}
|
|
|
|
hotmenu Load_Code()
|
|
{
|
|
GEL_Load(".\\debug\\Example_2833xEPwm_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");
|
|
}
|
|
|
|
|
|
|
|
|