Hi,
If I let Timer0 with FIQ run, then the program jumps either in
Default_handler or makes RESETS. Timer0 with IRQ runs completely
normally.
What can the cause?
Thanks.
�C: LPC2136
compiler: IAR
__fiq __arm void fiq_handler(void)
{
void (*interrupt_function)();
unsigned int vector;
// Interrupt-Vektor load
vector = VICVectAddr;
interrupt_function = (void(*)())vector;
// call Interruptfunktion
(*interrupt_function)();
// Interrupt reset
VICVectAddr = 0;
}
void Int_Timer0(void)
{
//
...
//
T0IR=0xFF;
}Message
FIQ Problem
2006-04-06 by sifiland
Attachments
- No local attachments were found for this message.