You are here

16FX: Interrupt Evaluation Order of same priority level Interrupts | Cypress Semiconductor

16FX: Interrupt Evaluation Order of same priority level Interrupts

Summary: 1 Reply, Latest post by analog_1658566 on 29 Oct 2016 03:05 PM PDT
Verified Answers: 0
Last post
Log in to post new comments.
analog_1658566's picture
User
2 posts

Hello,

The 16FX MCU uses an Interrupt Vector Table where each Vector has its own address, so for the MB96F338USA the Table starts with Vect#0 (CALLV0) and ends with Vect#122 (USB MiniHost 2)

When several Interrupts of the same priority level are pending, which one is processed first? (Is evaluations starting with highest or lowest Vect#?)

Regards,

Lorenz

 

analog_1658566's picture
User
2 posts

Hello again,

an example from my Interrupt Vector List

;------------------------------------------------------------------------------------------------------------------
;    Datatype   Interruptserviceroutine                 Vect#   Offset  Funktion    Beschreibung
;------------------------------------------------------------------------------------------------------------------
    .DATA.L     _PWM_ICU_4_isr                      ;   65      0x2F8   ICU4        Input Capture Unit 4
    .DATA.L     _PWM_ICU_3_isr                      ;   64      0x2FC   ICU3        Input Capture Unit 3
    .DATA.L     _PWM_ICU_2_isr                      ;   63      0x300   ICU2        Input Capture Unit 2
    .DATA.L     _PWM_ICU_1_isr                      ;   62      0x304   ICU1        Input Capture Unit 1
    .DATA.L     _PWM_ICU_0_isr                      ;   61      0x308   ICU0        Input Capture Unit 0

If all ICU Interrupt have the same Level and a request occurs at the same time, which one is executed first?

regards,

Lorenz

Log in to post new comments.