AnsweredAssumed Answered

use IRQ in MQX

Question asked by Li Zhengping on Dec 23, 2010
Latest reply on Jan 2, 2011 by Petr Lukas

HI, everyone

I have one question.

for coldfire v1, for example mcf51acxxx, there are one IRQ pin, and can use as external interrupt request pin. but it seems is NMI interrupt. In mqx user manual , I find that user can't install NMI interrupt's ISR by _int_install_isr, and can only use _int_install_kernel_isr to install one kernel isr, BUT kernel isr can't call any mqx function.

 

so this is my question, for IRQ, if I can't call any mqx function, then I think I can't do any thing meaningful in the irq isr. for example, I want to in the isr to trigger event to resume one task, or I want to call 'printf' to output some debug information ....

 

Outcomes