The Relationship Between the 8051 and USB Interrupts
Anonymous
Not applicable
Apr 04, 2011
08:30 AM
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Apr 04, 2011
08:30 AM
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.
Rate this article:
Contributors
-
This widget could not be displayed.Anonymous