cancel
Showing results for 
Search instead for 
Did you mean: 

ST7LITE29 External Interrupt problem

henrik239955
Associate II
Posted on April 28, 2005 at 05:10

ST7LITE29 External Interrupt problem

3 REPLIES 3
henrik239955
Associate II
Posted on April 27, 2005 at 12:38

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

bood

fggnrc
Associate II
Posted on April 27, 2005 at 14:02

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,

EtaPhi

henrik239955
Associate II
Posted on April 28, 2005 at 05:10

Thanks for reply.

Yes, of course I can do dummy routines. Just feel its a bit annoying...

Regards

bood