|ARM Technical Support Knowledge Articles|
Applies to: General Topics
Information in this article applies to:
I have several interrupt functions in my application. How should I assign registerbanks to these interrupt functions? Is the rule different when I use a real-time operating system like RTX-Tiny?
Several interrupt functions may share the same registerbank provided that they cannot interrupt each other.
The 8051, 251, and 166 based microcontrollers have priority driven interrupt systems. This implies that an interrupt function can only be interrupted by another interrupt function with a higher priority. In real applications this means that you can assign all interrupts with the same interrupt priority level to the same registerbank. This reduces the registerbanks and the memory required by your application.
There is no difference to this rule when you are using real-time operating systems like RTX-Tiny.
Article last edited on: 2005-07-15 10:11:08
Did you find this article helpful? Yes No
How can we improve this article?