RB Change Interrupt understanding


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,626


    Did you find this post helpful? Yes | No

    Default

    Hi,
    That's how I interpret it as well. If you reset the RBIF without reading the port it would simply get the set again because the mismatch condition persists. Read the port to clear the mismatsh, then reset the RBIF.

    /Henrik.

  2. #2
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    You need to read the port in order to give the device a sample that it can use for later comparison.
    Charles Linquist

  3. #3
    Join Date
    Mar 2010
    Location
    Austin, TX
    Posts
    68


    Did you find this post helpful? Yes | No

    Default

    Thanks Henrik and Charles. I am gradually getting an understanding of these PIC devices. This particular issue was troubling me because I wasn't sure if I was interpreting the datasheet correctly.

    Thanks again.
    PickyBiker says, "Riding a motorcycle eases programming frustration".

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts