This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Team,
1. My customer used DINT in the function for global interrupt mask. But why can't the Timer0 interrupt be shielded?
#define DINT __asm(" setc INTM")
2. When the function pointer is used to jump in the code, the code does not jump normally, but enters an illegal interrupt:
#define APP_ENTRY_ADDR 0x3D8000 DINT; IER = 0x0000; IFR = 0x0000; ((void (*)(void))(APP_ENTRY_ADDR))();
--
Thanks & Regards
Yale
Yale,
Sorry, I don't understand your question. Are you saying even when the interrupts were disabled at the core level y setting INTM = 1, Timer 0 interrupt was successfully asserted? This cannot happen. Did you check the value of INTM bit via CCS?
2. When the function pointer is used to jump in the code, the code does not jump normally, but enters an illegal interrupt:
There is very little information in your post to understand what might be going on.