WKED_B (Mode=0Ah) Set the bit to 1 to sense failing edge, clear to 0 to sense rising edge, not vice versa as stated in the SX Datasheet page 9
The only way to get the SX to generate an interrupt when the comparator output at RB0 goes from low to high would be to connect the output pin to another pin on port B configured as an interrupt with its interrupt enabled. In other words, the interrupt for MIWU on port B does not also work when the port direction is set to output.
|file: /Techref/scenix/inst/wked_b.htm, 0KB, , updated: 1999/2/20 12:23, local time: 2017/11/22 04:41,
|©2017 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://techref.massmind.org/techref/scenix/inst/wked_b.htm"> scenix inst wked_b</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to techref.massmind.org!