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

Fast external interrupt on XC164

I want to setup the fast external interrupt 0 (EXI0)on the Infineon XC16x board (pin P1H.0). My functions look like this:

void EXI0_Int (void) interrupt 24
{
  // Interrupt routine
}

void EXI0_Init (void)
{

    EXICON |= 0x02; // Falling edge EXI0
    CC1_CC8IC = CALC_IC (0, 1, 13, 0);
    // ILVL = 13, Interrupt enable
    PSW_IEN = 1;
}
The interrupt doesn't work. Could anyone help me with the right settings?

0