Technical Support

C51: INTERRUPT VECTOR NUMBERS


Information in this article applies to:

  • C51 Version 3 and Later

QUESTION

Where can I find a list of the interrupt vector numbers to use with C51?

ANSWER

Calculate the interrupt number for C51 interrupt vectors as follows:

(interrupt_address - 3) / 8

So, for interrupt address 33h, the interrupt number would be:

(33h - 3) / 8 = 30h / 8 = 6

MORE INFORMATION

Refer to Application Note 103 for more information about interrupt vectors and C51.

Last Reviewed: Sunday, January 30, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure