View Single Post
  #2   Spotlight this post!  
Unread 31-01-2008, 13:53
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Ganged Interrupt Edge Detection

Quote:
Originally Posted by cprogrammer View Post
Do Interrupts on the RB Port (Ganged Interrupts) have any edge detection registry assignments?
If enabled, all four fire off on both edges. If you are interested in executing an ISR on only one edge, just examine the state of the pin in the ISR and execute your code only when it is at the right logic level (e.g., if it's a one, a rising edge just happened). If you're using my code, I pass the logic level into the ISR for you.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org