cancel
Showing results for 
Search instead for 
Did you mean: 

Enable/Disable Global Interrupts

gajer
Associate
Posted on April 29, 2008 at 14:46

Enable/Disable Global Interrupts

3 REPLIES 3
gajer
Associate
Posted on May 17, 2011 at 12:34

How disable/enable global interrupt at core level ?

lanchon
Associate III
Posted on May 17, 2011 at 12:34

set and clear primask or faultmask. firmware lib has api for it.

16-32micros
Associate III
Posted on May 17, 2011 at 12:34

Try this in assembly :

disable_interrupts

cpsid I

; Return

bx lr

enable_interrupts

cpsie I

; Return

bx lr

[ This message was edited by: STOne-32 on 29-04-2008 18:17 ]