nop函数实现延时

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

nop函数实现延时

644件の閲覧回数
wangyibin
Contributor II

利用nop在LPC55S69实现1s延时不精准?与窗口看门狗实现的1s相比,所用时间长了?

ラベル(1)
0 件の賞賛
1 返信

633件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi wangyibin 

It's not possible  to use code like nop implement precise delay time.

If precise delay is needed, please use timer. Please note, if using FRO as timer source, The FRO is +/- 2% accuracy over the entire voltage and temperature range. 

Hope this helps,

Jun Zhang

 

 

 

0 件の賞賛