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

EX1IN on XC164CS doesn't work??

// interrupt service routine

void INT_viEx1(void) interrupt CC1_CC9INT
{
//never reach this routine
}

void main(void)
{
DP1H_P1 = 0; // set direction of port
EXISEL0 = 0x0000;
EXICON = 0x0008;

PSW_IEN = 1;
while(1);
}