丹尼尔你好,
抱歉回复晚了 ,
汽车MCU社区没有被我跟踪
1)从测试应用程序(从appWizard)开始是一个好点
如果在组件中启用EMIOS,则应保存并生成代码
(参见Eclipse中的SPC5Studio帮助部分)
2)回调是所有驱动程序中的函数指针
您必须定义回调并使用回调设置当前函数指针。
您可以在中断向量中放置一个断点,以检查您是否在中断例程中输入
3)是的,您必须添加源文件夹。 (用户文件)
链接问题可能是由于错过的头文件。
最好的祝福
二万
以上来自于谷歌翻译
以下为原文
Hello Daniele ,
Sorry for the late answer ,
Automotive MCUs Community was not tracked by me
1) Starting from a test application (from appWizard) is a good point
if you enable EMIOS in the components , you should save and generate the code
(Cf SPC5Studio help section in Eclipse)
2) the callback is function pointer in all the driver
You have to define the callback and set your current function pointer with your callback.
you can put a breakpoint in your interruption vector to check you enter well in the interruption routine
3) Yes , you have to add in the source folder. (the user files)
a link issue issue maybe due to a missed header file.
Best regards
Erwan
丹尼尔你好,
抱歉回复晚了 ,
汽车MCU社区没有被我跟踪
1)从测试应用程序(从appWizard)开始是一个好点
如果在组件中启用EMIOS,则应保存并生成代码
(参见Eclipse中的SPC5Studio帮助部分)
2)回调是所有驱动程序中的函数指针
您必须定义回调并使用回调设置当前函数指针。
您可以在中断向量中放置一个断点,以检查您是否在中断例程中输入
3)是的,您必须添加源文件夹。 (用户文件)
链接问题可能是由于错过的头文件。
最好的祝福
二万
以上来自于谷歌翻译
以下为原文
Hello Daniele ,
Sorry for the late answer ,
Automotive MCUs Community was not tracked by me
1) Starting from a test application (from appWizard) is a good point
if you enable EMIOS in the components , you should save and generate the code
(Cf SPC5Studio help section in Eclipse)
2) the callback is function pointer in all the driver
You have to define the callback and set your current function pointer with your callback.
you can put a breakpoint in your interruption vector to check you enter well in the interruption routine
3) Yes , you have to add in the source folder. (the user files)
a link issue issue maybe due to a missed header file.
Best regards
Erwan
举报