piclist 1996\05\01\011458a >
Thread: PortB Interrupt on change?
www.piclist.com/techref/microchip/ints.htm?key=interrupt
face
flavicon
face BY : Andrew Warren email (remove spam text)



Xaq <KILLspamPICLISTspam@spam@MITVMA.MIT.EDU> wrote:

{Quote hidden}

Zach:

Don't know how you missed this in your reading...

PIC16C7X Data Sheet, section 5.2 ("PORTB and TRISB Registers"):

   "Four of PORTB's pins, RB<7:4>, have an interrupt on change
   feature.  Only pins configured as inputs can cause this
   interrupt to occur (i.e., any RB7-RB4 pin configured as an
   output is excluded from the interrupt on change comparison).
   The input pins (of RB7-RB4) are compared with the old value
   latched on the last read of PORTB.  The "mismatch" outputs of
   RB7-RB4 are OR'ed together to generate the RBIF interrupt (flag
   latched in INTCON<0>."

-Andy

Andrew Warren - EraseMEfastfwdspamix.netcom.com
Fast Forward Engineering, Vista, California
http://www.geocities.com/SiliconValley/2499
<199605010512.WAA18333@dfw-ix6.ix.netcom.com>

See also: www.piclist.com/techref/microchip/ints.htm?key=interrupt
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) PortB Interrupt on change?

month overview.

new search...