RTA Knowledge Base

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In the image below, the heading OsIsr refers to the C code that implements the handler. OsIsrCategory identifies the interrupts as CAT1 or CAT2. OsIsrPriority is used by the interrupt controller to allow nesting of interrupts as higher priority interrupts may execute over lower priority interrupts. This Priority value is target-specific so an OS target must be specified before OsIsrPriority may be set. OsIsrAddress specifies the interrupt vector used by the OS to generate the vector table. This is target-specific so a target must be specified before the field may be configured.

...

MCAL Configuration

Interrupts for the MCAL are configured in the irq module found in the drop down list on the left pane.

...

The result should look like this:

...

MCAL Configuration

Next the ISR must be configured for the MCAL, therefore configuration must be done using the Tresos MCAL configuration tool.

Lets start by opening up the Tresos MCAL configuration tool, importing the project and opening up the irq module configuration window.

...