Beta 7.3.0 - vectored interrupts

Beta Testing discussion on mikroC PRO for PIC.
Post Reply
Author
Message
janni
Posts: 5373
Joined: 18 Feb 2006 13:17
Contact:

Beta 7.3.0 - vectored interrupts

#1 Post by janni » 04 Feb 2019 13:54

With legacy interrupts one may easily catch any unintended interrupts and clear they flags. With vectored interrupts, unused vectors point to reset, which may be disastrous in some applications. Would it be possible to implement a 'default' vector for unused interrupt sources (naturally with default value of 0, like it is now) so that one may add a routine, like

Code: Select all

void defaultISR(); iv IVT_DEFAULT;
and all otherwise unused vectors would point to it?

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Beta 7.3.0 - vectored interrupts

#2 Post by filip » 18 Feb 2019 17:17

Hi,

Thank you for the suggestion, I have passed it to our developers.

Regards,
Filip.

jpc
Posts: 1986
Joined: 22 Apr 2005 17:40
Location: France 87

Re: Beta 7.3.0 - vectored interrupts

#3 Post by jpc » 18 Feb 2019 19:38

if of any use i would like to state that this is a VERY GOOD suggestion, please make sure it will be implemented, thanks in advance!
Au royaume des aveugles, les borgnes sont rois.

Post Reply

Return to “mikroC PRO for PIC Beta Testing”