Interrupt Source IDs

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User16347
Level 1
Level 1
In an iLLD-version used in 2018 in order to declare an interrupt-service-.routine, "Interrupt SRC IDs" have been used, defined in intids_tc39xb.h.
InterruptInstall() was used to declare the ISR.

In the examples included in iLLD_1_0_1_11_0, interrupts only seem to be identified by their priority, using IFX_INTERRUPT().

Are their 2 different ways to handle ISRs? If yes where to select the chosen way?
Where do I find "Interrupt SRC IDs" in current iLLD? Or are these IDs not necessary any more?

Peter S
0 Likes
1 Reply
User20733
Level 1
Level 1
First solution authored
Check in 0_Src/AppSw/Rricore/Cfg_Illd/ConfigurationIsr.h

you should see something like

#define ISR_PRIORITY_.....

each one should be unique, and used only once in the corresponding IFX_INTERRUPT(isr, vect, pri) macro
where
isr = link to the isr
vect = vector table (set to core # 0.n)
prio = priority


If you follow the IFX_INTERRUPT() basically it makes an entry in the correct vector table

and the actual code linkage is made using the ISR_ASSIGN() macro which generates the stub code for the interrupt vector and points back to your isr
ISR_ASSIGN(isr, vect, prio)


you need to use both
0 Likes