AnsweredAssumed Answered

mc9s08dz60 gpio interrupt falling edge only?

Question asked by eran yasso on Jun 25, 2013
Latest reply on Jun 26, 2013 by bigmac

Hi all,


I have an external peripheral which is connected to port D3.

I set this port as interruptable.

My problem is that the interrupt is called only on falling edge. The pdf doesn't mention any thing about falling edge only.


This is my init sequence:

PTDSC_PTDIE = 0;//first disable interrupt
PTDPS_PTDPS3 = 1;   //Enable the interrupt pin
PTDSC_PTDACK = 1; //Clear any false interrupts
PTDSC_PTDIE = 1; //enable interrupts
PTDDD_PTDDD3 = 0; //input