48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
|
/*
|
||
|
// TI File $Revision: /main/5 $
|
||
|
// Checkin $Date: August 9, 2007 17:13:37 $
|
||
|
//###########################################################################
|
||
|
//
|
||
|
// 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 Interrupt Example"
|
||
|
|
||
|
hotmenu Load_and_Build_Project()
|
||
|
{
|
||
|
GEL_ProjectLoad("Example_2833xEPwmTimerInt.pjt");
|
||
|
GEL_ProjectBuild("Example_2833xEPwmTimerInt.pjt");
|
||
|
Setup_WatchWindow();
|
||
|
}
|
||
|
|
||
|
hotmenu Load_Code()
|
||
|
{
|
||
|
GEL_Load(".\\debug\\Example_2833xEPwmTimerInt.out");
|
||
|
Setup_WatchWindow();
|
||
|
}
|
||
|
|
||
|
|
||
|
hotmenu Setup_WatchWindow()
|
||
|
{
|
||
|
GEL_WatchReset();
|
||
|
GEL_WatchAdd("EPwm1TimerIntCount",,"PWM1 ISR Count");
|
||
|
GEL_WatchAdd("EPwm2TimerIntCount",,"PWM2 ISR Count");
|
||
|
GEL_WatchAdd("EPwm3TimerIntCount",,"PWM3 ISR Count");
|
||
|
GEL_WatchAdd("EPwm4TimerIntCount",,"PWM4 ISR Count");
|
||
|
GEL_WatchAdd("EPwm5TimerIntCount",,"PWM5 ISR Count");
|
||
|
GEL_WatchAdd("EPwm6TimerIntCount",,"PWM6 ISR Count");
|
||
|
GEL_WatchAdd("EPwm1Regs,x");
|
||
|
GEL_WatchAdd("EPwm2Regs,x");
|
||
|
GEL_WatchAdd("EPwm3Regs,x");
|
||
|
GEL_WatchAdd("EPwm4Regs,x");
|
||
|
GEL_WatchAdd("EPwm5Regs,x");
|
||
|
GEL_WatchAdd("EPwm6Regs,x");
|
||
|
}
|