2005-04-27 08:10 PM
ST7LITE29 External Interrupt problem
2005-04-27 03:38 AM
Hi,
I'm working with ST7LITE29. I want to set all I/O:s (PA0:7 and PB0:6) to inputs with pull up but WITHOUT interrupt. Is this possible? I can't find the way to do it. Two pins in each port automatically becomes interrupt inputs refering to the EISR register. Can't find the way to disable them... I have noticed this issue have been discussed before, but have not found any solotion yet... Regards bood2005-04-27 05:02 AM
You are true: if PAOR=$FF and PBOR=$7F, then two pins of each port generate an interrupt.
To overcome this limitation, why you do not use a dummy interrupt handler for each of these interrupts? I mean that ei0, ei1, ei2 and ei3 interrupt vector entry point to a routine like this: dummy IRET Regards, EtaPhi2005-04-27 08:10 PM
Thanks for reply.
Yes, of course I can do dummy routines. Just feel its a bit annoying... Regards bood