ARM Technical Support Knowledge Articles

INTERRUPT VECTOR NUMBERS

Applies to: C51 C Compiler

Answer


Information in this article applies to:


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.

Article last edited on: 2005-01-30 14:17:59

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential