Sign in

username:

password:



Not a member?

Search rabbit-semi



Search tips

Subscribe to rabbit-semi



Sponsor

controlSUITE™ software
Comprehensive.
Intuitive.
Optimized.

Real-world software for real-time control. Details Here!

Ads

Discussion Groups

See Also

DSPFPGAElectronics

Discussion Groups | Rabbit-Semi | Clearing serial interrupt using Dynamic C inside 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.

Clearing serial interrupt using Dynamic C inside ISR - thomuh - Oct 21 12:30:52 2009

Hello all,

I am writing an ISR for serial port C. I know that the best way to write ISR's is in assembly language, but how can I clear an interrupt produced by a byte that arrived to serial port C using Dynamic C inside an ISR?

If the ISR is written in assembly, just by doing:
ioi ld a, (SCDR)
will clear the interrupt right? Or do I still need IPSET 3 for example?

Thanks for your help,

------------------------------------



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