Disable/Enable all interrupts on LPC1114

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

Disable/Enable all interrupts on LPC1114

1,762件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mohsin on Wed Dec 15 11:36:52 MST 2010
Hi All,
          Can anyone please let me know how to disable and enable all interrupts through a single command on LPC1114?

I need to protect some critical sections by disabling all interrupts before going inside  and then enabling them once the critical section is done.

Thanks,
Mohsin
0 件の賞賛
返信
1 返信

1,600件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Wed Dec 15 12:09:27 MST 2010
You can call the following CMSIS functions:[INDENT][FONT=Courier New][SIZE=1]void __disable_irq (void)[/SIZE][/FONT][FONT=Courier New][SIZE=1]
void __enable_irq (void)[/SIZE][/FONT]
[/INDENT]Regards,
CodeRedSupport
0 件の賞賛
返信