Skip to main content
gajer
Associate
April 29, 2008
Question

Enable/Disable Global Interrupts

  • April 29, 2008
  • 3 replies
  • 775 views
Posted on April 29, 2008 at 14:46

Enable/Disable Global Interrupts

    This topic has been closed for replies.

    3 replies

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

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

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

    How disable/enable global interrupt at core level ?

    16-32micros
    Associate III
    May 17, 2011
    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 ]