Interrupts in MQXlite

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Interrupts in MQXlite

跳至解决方案
2,017 次查看
Abil
Contributor II

hello,am using codewarrior 10.6 with MQXlite rtos...i wanted to enable a HWI which activates for 1ms each..and in the ISR of HWI iwant to use Task or SWI can anyone suggest how to use interrupts in MQXlite RTOS

标签 (1)
0 项奖励
回复
1 解答
1,870 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi  shweta:

MQX Lite handles all hardware interrupts as defined in the Interrupt Vector Table generated by PEx (see vector.c). Similary to standard MQX, MQX Lite provides a fisrt level ISR (kernel ISR), which is written in assembly language. The first level ISR runs before any other ISR.

MQX Lite provides a second level application ISRs that are coded as regualr functions and are installed 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 user-specific, default, seconn-level ISR.

Please refer to the MQX Lite reference manual.  Interrupt handling is described in section 2.1

Regards

Daniel

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,871 次查看
danielchen
NXP TechSupport
NXP TechSupport

Hi  shweta:

MQX Lite handles all hardware interrupts as defined in the Interrupt Vector Table generated by PEx (see vector.c). Similary to standard MQX, MQX Lite provides a fisrt level ISR (kernel ISR), which is written in assembly language. The first level ISR runs before any other ISR.

MQX Lite provides a second level application ISRs that are coded as regualr functions and are installed 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 user-specific, default, seconn-level ISR.

Please refer to the MQX Lite reference manual.  Interrupt handling is described in section 2.1

Regards

Daniel

0 项奖励
回复
1,870 次查看
Abil
Contributor II

Thank you Daniel for the reply....ya it is helpful.

On Tue, Oct 13, 2015 at 7:02 AM, danielchen@fsl <

0 项奖励
回复