- 博客(1)
- 资源 (1)
- 收藏
- 关注
原创 STM下纯软件实现精确定时
不用定时器得到精确定时(cqzww) 先上测试代码 #include "stm32f10x.h" #include "core_cm3.h" __asm int Dellayus(u32 usec) { ALIGN PUSH.W {r1} //2时钟周期 MOV r1,#18 //1时钟周期 MUL r0,r1 //1时钟周期
2012-09-08 00:52:03 396
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人