Announcements

Learn how to optimise USB-C for your designs at 18 May's USB-C PD Webinar.
Click here to register.

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

ubs1
Level 2
Level 2
5 replies posted 10 sign-ins 5 questions asked

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

 

1 Solution
MallikaK_22
Moderator
Moderator
Moderator
250 solutions authored 500 replies posted 250 replies posted

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
250 solutions authored 500 replies posted 250 replies posted

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