interrupts

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

cross mob
azot_0
Level 2
Level 2
10 replies posted 10 questions asked 25 sign-ins

I am new to mcu FX2LP. in FX2LP sample project there are several handlers with same interrupt 0. Can all have same interrupt 0?.why?.

void ISR_Ures( void ) interrupt 0
void ISR_Susp( void ) interrupt 0
void ISR_Highspeed( void ) interrupt 0

 

0 Likes
1 Solution
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi,

Yes, the “0” after the interrupt keyword is the ID for all USB interrupt requests.

Kindly refer to section 4.4- USB Specific Interrupts in the FX2LP TRM: https://www.cypress.com/file/126446/download

From it, you can get a better understanding of the internal implementation for the same.

Regards,

Mallika

View solution in original post

0 Likes
1 Reply
MallikaK_22
Moderator
Moderator
Moderator
50 likes received 750 replies posted 250 solutions authored

Hi,

Yes, the “0” after the interrupt keyword is the ID for all USB interrupt requests.

Kindly refer to section 4.4- USB Specific Interrupts in the FX2LP TRM: https://www.cypress.com/file/126446/download

From it, you can get a better understanding of the internal implementation for the same.

Regards,

Mallika

0 Likes