完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好
我想为我的端口使用中断,但我不知道如何使用 是否存在此项目的文档或示例代码。 实际上我看到了一个OSAL_IRQ_HANDLER函数,但我不知道如何在我的代码中使用这个functoin。 感谢帮助 最好的祝福。 以上来自于谷歌翻译 以下为原文 Hello I want to use interrupts for my ports but i do'nt know how can i use is there a document or sample code is exist for this item . actually i saw a OSAL_IRQ_HANDLER function but i do'nt how can i use this functoin in my code. thanks for help best regards. |
|
相关推荐
1个回答
|
|
你好Vanima,
抱歉回复晚了。 在serial_lld.c中,这是一个使用您自己的向量定义中断的示例 (串行) 使用补丁模式功能,您可以更新此文件或挂钩这部分代码。 有关中断的信息,请参见参考手册。 最好的祝福 二万 以上来自于谷歌翻译 以下为原文 Hello Vanima , sorry for the late answer. From serial_lld.c , here is an example to define an interruption with your own vector (Serial)
With patch mode feature , you can update this file or hook this part of code. See the reference manual , for the information on the interrupts. Best Regards Erwan |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
1209 浏览 1 评论
1832 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1498 浏览 1 评论
2724 浏览 6 评论
4945 浏览 21 评论
293浏览 4评论
338浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
263浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
331浏览 3评论
345浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-3-28 22:59 , Processed in 0.715416 second(s), Total 73, Slave 57 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 深圳华秋电子有限公司
电子发烧友 (电路图) 粤公网安备 44030402000349 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号