DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Assembly (http://www.daniweb.com/forums/forum125.html)
-   -   Realtime application (http://www.daniweb.com/forums/thread18446.html)

teenamalik Feb 11th, 2005 1:23 am
Realtime application
 
Hello there,
I have an interesting question reagrding realtime application.
When say a microcontroller is executing let us say an instruction to collect data from a buffer.If an interrupt strikes and controller has to go to ISR.
The buffer is receiving I/P continuoulsy.

Now when the controller returns back after servicing the interuppt the buffer contents may get changed as it is receiveing I/P continuously.

What can be done so that the buffer contents remain unaltered before they are loaded in controller?

Please advise.

Tina


All times are GMT -4. The time now is 7:17 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC