大家好,
我正在使用板,
5.2.1
我想配置WKUP [2]引脚号:PA [1]作为外部唤醒源,
我没有找到使用代码生成器唤醒的任何回调函数代码生成,
我期待应该有一些方法来生成唤醒回调函数的代码,与我们如何使用代码生成器生成EIRQ回调函数的代码相同,
是否可以为唤醒源生成回调函数,与EIRQ相同,
如果可能,请指导我如何生成唤醒回拨代码,
如果不能使用代码生成器为唤醒源生成代码,
请给我一些示例代码来配置外部唤醒源(例如:当按下开关时,系统应该唤醒)
提前致谢,
---
谢谢&问候,
Mujeeb。
以上来自于谷歌翻译
以下为原文
Hi All,
I am using board,
5.2.1
I want to configure WKUP[2]Pin Number :PA[1] as external wake up source,
I didn't find any call back func
tion code generation for wake up using Code Generator,
I am expecting there should be some way to generate code for wake up call back function,Same as how we are generating code for EIRQ call back function using Code Generator,
whether it is possible to generate call back function for Wake-up sources same as EIRQ,
If possible please guide me how to generate the Wake up call back code,
If not possible to generate code for wake-up source using Code generator,
Please provide me some sample code to configure external wake source (Example : when switch press,system should wake up)
Thanks in advance,
---
Thanks & Regards,
Mujeeb.