Sign in

username:

password:



Not a member?

Search rabbit-semi



Search tips

Subscribe to rabbit-semi



Ads

Discussion Groups

Discussion Groups | Rabbit-Semi | how to know rising or falling edge in ISR?

This is a group for folks designing and programming embedded systems using the Rabbit Semiconductor C-programmable microcontroller. Rabbit Semi is a spin-off from Z-World who makes a variety of embedded modules and tools. This group is not affiliated with either Rabbit or Z-World, but is a user forum for sharing ideas, asking questions, flaunting knowledge, and other typical user group stuff. The Rabbit is a powerful uC, supported by a full-featured C-compiler.

how to know rising or falling edge in ISR? - ionymous - Mar 16 13:38:50 2008

I'm using the RCM4010. I'm new to Rabbit hardware.
I set up an external interrupt for both rising and falling edges.

In my ISR, how do I know whether I am handling the rising or falling edge?
Do I just look at the value of the input using BitRdPortI?

Thanks for any help.
Ion
------------------------------------



(You need to be a member of rabbit-semi -- send a blank email to rabbit-semi-subscribe@yahoogroups.com )