MQX Lite handles all hardware interrupts as defined in the Interrupt Vector Table generated by PEx (see vector.c). Similarly to standard MQX, MQX Lite provides a first-level ISR (kernel ISR), which is written in assembly language. The first-level ISR runs before any other ISR, and performs these tasks:
First-level ISR can be replaced by the user-specific ISR on a per-vector basis.
MQX Lite provides second-level application ISRs that are coded as regular functions and are installed into into MQX Lite Interrupt Table through the Interrupt component API. Default second-level ISR for all possible interrupt sources is installed when MQX Lite starts. MQX Lite also supports the installation of the user-specific, default, second-level ISR. When a second-level ISR is called, the parameter, which the application defines when the application installs the ISR, is passed to the ISR.
Each entry of the MQX Lite Interrupt Table consists of:
MQX Lite supports installing an exception handler and enabling and disabling the Hardware interrupts.
The difference between the Interrupt component in the standard MQX and the MQX Lite is minimal and involves statistical allocation of certain internal resources. The list of Interrupt component API functions ( _int_ prefix) is stated together with detailed description of each function in the Freescale MQX™ Lite RTOS Reference Manual (MQXLITERM).