Hi!
My problem is: how to make an application with EINT0 assigned to FIQ.
I try with someting like below - but it does not work.
The source of interrupt is a pushbutton.
I use IAR EWARM Kickstart compiler.
A fragment of code with init procedure:
...
VICIntSelect = 0x4000; // Select EINT0 as FIQ.
VICIntEnable = 0x4000; // Enable EINT0 interrupt.
PINSEL1 = 0x00000001; // configure P0.16 pin as EINT0.
...
A code with FIQ handler:
...
EXTINT = 0x01; // Try to reset external interrupt flag.
if (!(EXTINT & 0x01))// Check if flag was reset (button not pressed.
{
AND I CAN NOT REACH THIS POINT
}
...
What I may say - something is working - after pushing interrupt
button program hangs.
RobertMessage
Simpliest working FIQ example - please help.
2004-03-08 by hansklos2003
Attachments
- No local attachments were found for this message.