Joined: Fri Apr 11, 2008 2:11 pm Posts: 5 Location: Scotland
|
|
Hi We are using AT91SAM9263 in our design and are using Adeneo's BSP.
We have setup an interrupt on PB22 using the standard InterruptInitialize() routine. However, it looks like we are getting interrupt on BOTH rising and falling edge on PB22. We would appreciate if somebody could please provide feedback on the following:
a. Is there any way we can setup to have interrupts happening only on positive OR negative edge on PB22?
b. Any pointers to sections of code relating to this? We looked at \PLATFORM\COMMON\SRC\SOC\ATMEL\AT91SAM926x\KERNEL\INTR\intr.c and there is a statement in OALIntrInit() in this file that seems to indicate that ALL interrupts are by default being configured for level sensitive operation. May be we are holding the wrong end of the stick so any comments on this would be appreciated.
Thanks, Samie
|
|