完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好,
我有一个在中断中被调用的函数。我希望根据执行函数的持续时间来定义中断的调用。 正常地知道执行的持续时间,我在开始设置一个PIN,并在函数的末尾清除PIN。我看一个示波器的持续时间。 但是在家里我没有示波器。有没有简单的方法知道持续时间?我有一个UART发送数据 谢谢你 以上来自于百度翻译 以下为原文 Hi everyone, I have a function which is called in an interruption. I would like define the call of my interruption according to the duration of execution of my function. Normaly to know simply the duration of execution I set a pin at the begining and clear the pin at the end of the function. I look on a oscilloscope the duration. But at home I haven't osciloscope. Is there a simply method to know the duration? I have a UART to send data Thank you |
|
相关推荐
1个回答
|
|
好的,谢谢,但我不明白。
如果我把时钟24mhz与一期256定时器(10667µS),当我站在我的功能的定时器,我怎么能有时间吗?我会得到计时器的计数器值。 谢谢您 以上来自于百度翻译 以下为原文 Okay thanks but I don't understand something, if I put a clock of 24MHZ on the timer with a period of 256 (10,667µS) , when I stop the timer in my function,how can I have the time? I will get the counter value of the timer thank you |
|
|
|
只有小组成员才能发言,加入小组>>
757个成员聚集在这个小组
加入小组2137 浏览 1 评论
1877 浏览 1 评论
3700 浏览 1 评论
请问可以直接使用来自FX2LP固件的端点向主机FIFO写入数据吗?
1815 浏览 6 评论
1561 浏览 1 评论
CY8C4025LQI在程序中调用函数,通过示波器观察SCL引脚波形,无法将pin0.4(SCL)下拉是什么原因导致?
756浏览 2评论
CYUSB3065焊接到USB3.0 TYPE-B口的焊接触点就无法使用是什么原因导致的?
509浏览 2评论
CX3连接Camera修改分辨率之后,播放器无法播出camera的画面怎么解决?
470浏览 2评论
422浏览 2评论
使用stm32+cyw43438 wifi驱动whd,WHD驱动固件加载失败的原因?
1113浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-2-2 18:51 , Processed in 0.710515 second(s), Total 42, Slave 37 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号