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

cross mob

The Relationship Between the 8051 and USB Interrupts

The Relationship Between the 8051 and USB Interrupts

Anonymous
Not applicable
Question: What is the difference between 8051 and USB interrupts in an FX2LP Device?

 

Answer:

The 8051 interrupts and USB interrupts are handled differently. The USB interrupt vector generation is handled by the USB jump table (USBJmpTb.obj), and the 8051 interrupt vector generation is handled by the Keil compiler. The "#pragma noiv" statement in periph.c tells the Keil compiler to use the USB jump table for generating the interrupt vectors for the USB interrupts, instead of its own interrupt vector scheme, which follows the traditional 8051 scheme.

0 Likes
183 Views
Contributors