文件内容主要来自 乾勤文档,使用本人自制miniwiggler也可以在实际产品上仿真
1.1导入 Demo 工程
打开file 选项,使用Import 功能导入,或者在左边HighTec Project Explorer 窗口右键单击使用Import 功能。操作步骤具体如图1
1.2 软件说明
软件说明
//核心0 主程序
int core0_main (void)
{
IfxCpu_enableInterrupts();
/*
* !!WATCHDOG0 AND SAFETY WATCHDOG ARE DISABLED HERE!!
* Enable the watchdog in the demo if it is required and also service the
watchdog periodically
* */
IfxScuWdt_disableCpuWatchdog (IfxScuWdt_getCpuWatchdogPassword ());
IfxScuWdt_disableSafetyWatchdog (IfxScuWdt_getSafetyWatchdogPassword ());
// STM_Demo_init();
gpio_init();
while (1)