In SX Microcontrollers, SX/B Compiler and SX-Key Tool, Tracy Allen wrote: I verified your observation today, using an SX48 instead of an SX28. There was a chance the they might be different. But not--Upon port B wakeup from SLEEP, the bits configured to detect LOW to HIGH transitions were all set in wkpdn_b, no matter which bit actually caused the wakeup. Bits configured to detect HIGH to LOW transitions worked as expected, and retained good information about which bit caused the wakeup/interrupt. As in your truth table. And without SLEEP, both edges retained good information. Weird. ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=106511#m107238 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2006 (http://www.dotNetBB.com)