Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: EINT1 and EINT2 problem

2005-01-21 by itsjustimpossible

--- In lpc2000@yahoogroups.com, Bruce Paterson <bruce@t...> wrote:
> Thinking laterally, Have you tried using just one pin, but in the 
ISR 
> flip the edge polarity bit every time (so you interrupt on both 
edges) ?
> If there is some problem it might be a workaround :)

Hi
I did think about that initially, but what with the VPBDIV 
corruption etc, I thought that changing the polarity on the fly 
might be a bit more trouble than it was worth. So I sacrificed an 
extra pin to do the second edge.

I could still give it a try and see what happens, I will just set 
the other pin back to GPIO.

cheers
Simon

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.