8051 interrupts and the USB interrupts
Anonymous
Not applicable
Dec 19, 2008
12:00 AM
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Dec 19, 2008
12:00 AM
Question: What are thedifferences between the 8051 interrupts and the USB interrupts?
Answer:
In order to have a clear picture of the relationship between the 8051 interrupts and the USB Interrupts, all you have to remember is that 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