What is the use of the `interrupt` keyword while declaring an ISR? Is it mandatory to declare all the ISR`s using this keyword?
ISA: C6000; All CCS: ‘Interrupt’ keyword is not mandatory for declaring an ISR. The user can still branch to an ISR without declaring a function using this keyword. Specifying this keyword would declare the ISR as a Maskable interrupt function, which means that the interrupt could be disabled using software instruction. For such ISR`s, there is no need to include the assembly instruction `B IRP` in the interrupt vector table. Whereas for the functions, which were not declared using an ‘interrupt’ keyword, the user has to explicitly use the `B IRP` instruction at the end of the assembly routine in the interrupt vector table.