ISR Function and I/O Data Structure Retrieve Functions Tab

The parameters in this tab allow Processor Expert to retrieve the pointers to the current ISR and the current data structure that the ISR holds when executed. In MQX, retrieving the current ISR running in the RTOS is same as the ISR installation function. Therefore, to save the old ISR, it is necessary to install the new one.

Figure 1. RTOS ISR Function



Retrieving the data structure has a special function called _int_get_isr_data data receives the IRQ Vector Number parameter.

Note: If an RTOS does not use Virtual Interrupt Tables, it might not provide functions to retrieve the current ISR function of an IRQ and/or to get its input parameters so that all these fields can be left empty.