Skip to main content
stm322
Associate III
November 26, 2008
Question

interrupt register

  • November 26, 2008
  • 3 replies
  • 576 views
Posted on November 26, 2008 at 12:10

interrupt register

    This topic has been closed for replies.

    3 replies

    giles
    Associate II
    May 17, 2011
    Posted on May 17, 2011 at 12:54

    I've not tried this but i'd read the interrupt set enable registers - see the Cortex M3 Technical Reference:8.2.2

    stm322
    stm322Author
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:54

    Hello,

    I was wondering if there is a way to know which interrupt is enabled or not.

    For example, I enable a few interrupt such as USART1, CAN_RX, ... using the NVIC_Init from the ST library. After that, I would like something returning a mask of interrupt enabled or not. I haven't seen a ST library function having this possibility.

    I was thinking of reading the register, but I haven't found the address of this register in any document. By debugging the library I saw that the register modified is at the address 0xE000E000. But this one is in a reserved section refering to the memory map in document RM0008.

    Does anybody have an idea or know how to check all interrupt enabled?

    Thanks in advance.

    stm322
    stm322Author
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 12:54

    Thank you Giles.

    I can read the register at the address 0xE000E100. It gives me back properly which interrupt is enabled.