piclist 1996\05\01\011458a >
Thread: PortB Interrupt on change?
face BY : Andrew Warren email (remove spam text)

Xaq <spamBeGonePICLIST@spam@spamMITVMA.MIT.EDU> wrote:

{Quote hidden}


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>."


Andrew Warren - RemoveMEfastfwdRemoveMEspamTakeThisOuTix.netcom.com
Fast Forward Engineering, Vista, California

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...