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 13:23, local time: 2024/8/31 16:58,
18.118.31.72:LOG IN
|
©2024 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://ecomorder.com/techref/scenix/inst/wked_b.htm"> scenix inst wked_b</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.