This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

External Interrupt with XC 167

Hi!

I would like to release an external interrupt at the XC167 by Infineon, over Port 2, pin 8 (EX0IN). I mean to have set actually all registers, different priorities tried out, and also different reactions in the interrupt service routine (LED blinks,Text on display). The manual polling of the Port works. Only the interrupt does not release.
The source code of the InterruptIni() and the ISR:

void InterruptIni(void)
{
DP2 =0x00; EXICON = 0x0015; EXISEL0 = 0x0000;
CC1_CC8IC = 0x017F;
PSW_IEN = 1;
}

void InterruptA() interrupt 0x18 //Pin 2.8
{
P9^4=0; //Yellow LED
}

It would be great if someone could help me!
Thank you and greeting
Nils

0