Part Number: CC2530
I want the port1 of cc2530 has interrupt
now I write to these register to have interrupt
P1SEL &= ~(1<<5); //set it to use GPIO P1IEN |= (1<<5); // interupt enable PICTL |= (1<<2); // interupt on falling edge P1IFG = 0x00; // clear interupt flag
and write this function
HAL_ISR_FUNCTION(halKeyPort1Isr , P1INT_VECTOR ){
P1IFG = 0x00;
}
I think function above is not right because it's not triggering
everything else is right and I test it
