Disabling and Enabling Global Interrupts

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Will the following two assembly commands work to disable and enable global Interrupts on the SAMA5D44?

 


asm("cpsie if");
asm("cpsid if");

I know they work for the SAM 7

 

If not what are the instructions to achieve this?

 

Thanks lads.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

have you read the compiler info? Usually these are __disable_irq() or something like that.

Last Edited: Sat. Aug 24, 2019 - 01:52 AM