📄 example_2833xhrpwm_sfo.gel
字号:
/*
// TI File $Revision: /main/5 $
// Checkin $Date: August 9, 2007 17:17:23 $
//###########################################################################
//
// 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 Header Files V1.01 $
// $Release Date: September 26, 2007 $
//###########################################################################
//###########################################################################
// Test Description: Run this GEL on F28335 or F2801.
// The Watch window should give a Scale factor value of 67-70 for the HRPWM
// modules in the device. F28335/6 will have four entries. F2801 will have three
//###########################################################################
*/
menuitem "DSP2833x HRPWM SFO"
hotmenu Load_and_Build_Project()
{
GEL_ProjectLoad("Example_2833xHRPWM_SFO.pjt");
GEL_ProjectBuild("Example_2833xHRPWM_SFO.pjt");
Setup_WatchWindow();
}
hotmenu Load_Code()
{
GEL_Load(".\\debug\\Example_2833xHRPWM_SFO.out");
Setup_WatchWindow();
}
hotmenu Setup_WatchWindow()
{
GEL_WatchReset();
GEL_WatchAdd("UpdateFine");
GEL_WatchAdd("EPwm1Regs.CMPA.all");
GEL_WatchAdd("EPwm2Regs.CMPA.all");
GEL_WatchAdd("EPwm3Regs.CMPA.all");
GEL_WatchAdd("EPwm4Regs.CMPA.all");
GEL_WatchAdd("MEP_ScaleFactor[1]");
GEL_WatchAdd("MEP_ScaleFactor[2]");
GEL_WatchAdd("MEP_ScaleFactor[3]");
GEL_WatchAdd("MEP_ScaleFactor[4]");
GEL_WatchAdd("EPwm1Regs,x");
GEL_WatchAdd("EPwm2Regs,x");
GEL_WatchAdd("EPwm3Regs,x");
GEL_WatchAdd("EPwm4Regs,x");
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -