Skip to main content
Visitor II
April 28, 2005
Question

ST7LITE29 External Interrupt problem

  • April 28, 2005
  • 3 replies
  • 659 views
Posted on April 28, 2005 at 05:10

ST7LITE29 External Interrupt problem

    This topic has been closed for replies.

    3 replies

    Visitor II
    April 27, 2005
    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

    Visitor II
    April 27, 2005
    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

    Visitor II
    April 28, 2005
    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