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.
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.
You need to read the port in order to give the device a sample that it can use for later comparison.
Charles Linquist
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".
Bookmarks