basic Q: disabling all interrupts?

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

basic Q: disabling all interrupts?

3,027件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by cyberstudio on Mon Apr 11 16:38:02 MST 2011
How do I temporarily disable all interrupts? And then re-enable them? This is for executing a short sequence atomically, on a LPC1114 if it matters. Thanks!
0 件の賞賛
返信
2 返答(返信)

2,381件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Mon Apr 11 16:56:34 MST 2011
Try:

__enable_irq();
__disable_irq();
defined in core_cm0.h of CMSIS
0 件の賞賛
返信

2,381件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by larryvc on Mon Apr 11 16:54:43 MST 2011
See this thread:

http://knowledgebase.nxp.com/showthread.php?p=4674
0 件の賞賛
返信