Hi!!!
I have some problems to understand how to get an interruption of two release buttons and call a Task to work with the interruption.
I created a GPIO_LDD component with two GPIO Pin in Rising Edge. I used ISR (no DMA).
I want to know how these interrupts can be linked to the MQX TASKS Template. I created a task with the name "Buttons_task", and this task sends messages to a Main task (Control Task). I need that buttons_task go to the stack when the button is pressed.
已解决! 转到解答。
Hello Norberto ,
It is not from the interrupt to call Task , While it is init interrupt in the TASK .
I recommend you refer to the interrupt demo under MQX: Freescale_MQX_4_2\mqx\examples\isr\build
There is also PE-mqx demo under CW : CodeWarrior_Examples\Processor_Expert\MQXLite\Kinetis
There is also a GPIO interrupt demo :
How to invoke interrupt in GPIO demo project of mqx for more then one time?
The attachment is a guide for create MQXLITE project on CW with PE, it is the same with MQX .
Hope it helps
Alice
Hello Norberto ,
It is not from the interrupt to call Task , While it is init interrupt in the TASK .
I recommend you refer to the interrupt demo under MQX: Freescale_MQX_4_2\mqx\examples\isr\build
There is also PE-mqx demo under CW : CodeWarrior_Examples\Processor_Expert\MQXLite\Kinetis
There is also a GPIO interrupt demo :
How to invoke interrupt in GPIO demo project of mqx for more then one time?
The attachment is a guide for create MQXLITE project on CW with PE, it is the same with MQX .
Hope it helps
Alice