Searching \ for '[PIC]: Int on pin change' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/devices.htm?key=pic
Search entire site for: 'Int on pin change'.

Exact match. Not showing close matches.
PICList Thread
'[PIC]: Int on pin change'
2002\03\06@114549 by John Walshe

flavicon
face
Folks,
   In the 12C672, if using GP0,1 as outputs and using GP3 as input with int
on change enabled, will a change on either of the outputs cause an
interrupt?. From the I/O pin diagram in the datasheet it would appear that
this is the case. Can anyone confirm or discount this for definite.

Thanks,
   John

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email spam_OUTlistservTakeThisOuTspammitvma.mit.edu with SET PICList DIGEST in the body


2002\03\06@124618 by Drew Vassallo

picon face
>     In the 12C672, if using GP0,1 as outputs and using GP3 as input with
>int
>on change enabled, will a change on either of the outputs cause an
>interrupt?. From the I/O pin diagram in the datasheet it would appear that
>this is the case. Can anyone confirm or discount this for definite.

Any pins configured as outputs are excluded from comparison for the
Interrupt on Change feature.  In your example, only a change on GP3 (input)
will cause an interrupt.

--Andrew

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email .....listservKILLspamspam@spam@mitvma.mit.edu with SET PICList DIGEST in the body


2002\03\06@125949 by John Walshe

flavicon
face
Thanks Drew,
   Thats the answer I was hoping for.
John

--
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email listservspamKILLspammitvma.mit.edu with SET PICList DIGEST in the body


2002\03\07@233400 by Dwayne Reid

flavicon
face
At 04:41 PM 3/6/02 +0000, John Walshe wrote:
>Folks,
>     In the 12C672, if using GP0,1 as outputs and using GP3 as input with int
>on change enabled, will a change on either of the outputs cause an
>interrupt?. From the I/O pin diagram in the datasheet it would appear that
>this is the case. Can anyone confirm or discount this for definite.

I have good news and bad news for you.

Pins that are set as outputs do NOT cause a port change interrupt.  Thats
the good news.  The bad news is that changing those outputs WILL cause you
to miss interrupts *IF* your output pin changes at exactly the same time as
the desired input.

If your output pins did not ever change while you were waiting for an
interrupt on GP3, there would be no problem.  But if the outputs *are*
changing, look out!

dwayne


Dwayne Reid   <.....dwaynerKILLspamspam.....planet.eon.net>
Trinity Electronics Systems Ltd    Edmonton, AB, CANADA
(780) 489-3199 voice          (780) 487-6397 fax

Celebrating 18 years of Engineering Innovation (1984 - 2002)
 .-.   .-.   .-.   .-.   .-.   .-.   .-.   .-.   .-.   .-
    `-'   `-'   `-'   `-'   `-'   `-'   `-'   `-'   `-'
Do NOT send unsolicited commercial email to this email address.
This message neither grants consent to receive unsolicited
commercial email nor is intended to solicit commercial email.

--
http://www.piclist.com hint: To leave the PICList
EraseMEpiclist-unsubscribe-requestspam_OUTspamTakeThisOuTmitvma.mit.edu


More... (looser matching)
- Last day of these posts
- In 2002 , 2003 only
- Today
- New search...