ctl_enter/exit_isr on every ISR?

Comments

4 comments

  • Avatar
    Leo Bosnjak

    Hi,

    I think, I can confirm that, because on my MSP430 I've only declared the timer tick ISR as __ctl_interrupt (which does the same as your code I think), because I don't want a task switch to happen after other interrupts..

    kr, Leo

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    You can use __interrupt for interrupt handling functions that don't use CTL services.

     

    Regards

    Michael

    0
    Comment actions Permalink
  • Avatar
    Bruce Chippindale

    If writing in C for the stm32f2xx   ?  

     

    What does __interrupt do?   It is not in the pdf    

    0
    Comment actions Permalink
  • Avatar
    Michael Johnson

    This is a special in the MSP430 compiler - unlike the Cortex-M3 regular C functions can't be used as interrupt handlers for MSP430.

    0
    Comment actions Permalink

Please sign in to leave a comment.