ARM Technical Support Knowledge Articles


Applies to: RealView Real-Time Library


Information in this article applies to:


I am using the RTX Kernel and I have doubts on how to setup the STR9 interrupt system. Can you give me some hints? Can I use the STR9 library together with RTX applications?


The STR9 has two daisy chained Vectored Interrupt Controllers which allows the direct usage of interrupt functions. For an RTX application it is strongly recommended to avoid a common interrupt handler routine.

The STR9 library can be used together but not the exception handlers of this library. You must ensure that the option Setup Library Exception Handlers is disabled in the STR9 Startup file (symbol LEH_SETUP).

Interrupt functions can be added as C functions using the __irq attribute. You must acknowledge both VIC at the end of each interrupt function as shown in the example below:

__irq void ADC_IRQ_Handler (void) {

  ...              /* ADC Handler Code */

  VIC0->VAR = 0;   /* Acknowledge Interrupt */
  VIC1->VAR = 0;

Article last edited on: 2006-10-16 18:16:21

Rate this article

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