完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛扫一扫,分享给好友
|
想问一下 "brne 1b" 中的1b是什么意思~~ __asm__ __volatile__ ( "1: ***iw %0,1" "nt" // 2 cycles "brne 1b" : "=w" (us) : "0" (us) // 2 cycles ); void delayMicroseconds(unsigned int us) { // for a one-microsecond delay, simply return. //the overhead of the function call yields a delay of //approximately 1 1/8 us. if (--us == 0) return; // the following loop takes a quarter of a microsecond (4 cycles) // per iteration, so execute it four times for each //microsecond of delay requested. us <<= 2; // account for the time taken in the preceeding commands. us -= 2; // busy wait __asm__ __volatile__ ( "1: ***iw %0,1""nt" // 2 cycles "brne 1b" :"=w" (us) : "0" (us) // 2 cycles ); } |
|
相关推荐 |
|
只有小组成员才能发言,加入小组>>
WIO Terminal +MCP2515 实现车辆OBD的速度监控
10837 浏览 0 评论
60660 浏览 77 评论
6432 浏览 3 评论
一块扩展板完成Arduino的10类37项实验(代码+图形+仿真)
41518 浏览 219 评论
10334 浏览 0 评论
791浏览 0评论
288浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-11 03:04 , Processed in 0.530859 second(s), Total 62, Slave 54 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1893