Forums

Interrupt GPIO

Started by Maria January 27, 2004
Hi all!
I do not understand.
My code
{..........
/*Initialize PORT B*/
hard.PortB = gpioOpen (BSP_DEVICE_NAME_GPIO_B, NULL);
periphMemWrite(0,PORTB_BASE+PORT_DDR);
periphMemWrite(0,PORTB_BASE+PORT_PER);
periphMemWrite(255,PORTB_BASE+PORT_IENR);
periphMemWrite(255,PORTB_BASE+PORT_IPOLR);
archInstallISR(&(pArchInterrupts -> MpioB), PortBISR);
periphMemWrite(0,PORTB_BASE+PORT_IAR);
/***********************/
..................................................
}
Why do not work interrupt?
Thank you
Maria