LPC822 SCTIMER, Could I define interrupt priority for different Events?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC822 SCTIMER, Could I define interrupt priority for different Events?

Jump to solution
923 Views
asier
Contributor III

Hi,

I've configured SCTIMER in not unified mode. L counter for a capture event (Event0) that it measures the period of an external signal and H counter for a match event (Event1) that it executes some other code when it happens.

Issue is that sometimes both events are solapated, I mean, Event1 happens while code is attending the interrupt of Event0. So Event1 must be waiting until Event0 callback returns. I want Event1 has interrupt priority with respect Event0.

Is not posible to manage interrupt priorities between events ? 

Thanks in advance,

Regards,

Asier.

0 Kudos
Reply
1 Solution
913 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello asier,

They the same interrupt vector, so impossible. 

 

Regards,

Alice

View solution in original post

0 Kudos
Reply
1 Reply
914 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello asier,

They the same interrupt vector, so impossible. 

 

Regards,

Alice

0 Kudos
Reply