Forum Menu




 


Log in Problems?
New User? Sign Up!
AVR Freaks Forum Index

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
Lajon
PostPosted: Apr 11, 2008 - 10:17 AM
Posting Freak


Joined: Mar 12, 2004
Posts: 1174
Location: Linköping, Sweden

Quote:
Will this kinda adc operation make interrupt any better than normal conversions without interrupts
As with any interrupt the AVR is free to do other things, it is not busy waiting for the conversion to complete (ADC is rather slow compared to, e.g., an AVR at 16Mhz). Now, if there is nothing else to do then you might as well busy wait.
/Lars
 
 View user's profile Send private message  
Reply with quote Back to top
superchiku
PostPosted: Apr 11, 2008 - 10:32 AM
Wannabe


Joined: Feb 24, 2008
Posts: 63


well but will this be reliable coz iam going to use it a large code where the avr is going to do manay activities like controlling the 3 timers using the usart and continuosly taing adc readings
 
 View user's profile Send private message  
Reply with quote Back to top
Lajon
PostPosted: Apr 11, 2008 - 10:56 AM
Posting Freak


Joined: Mar 12, 2004
Posts: 1174
Location: Linköping, Sweden

Yes, it will be ultra reliable Smile, seriously, no one but you can know that. If you follow the general advice to keep interrupt handlers short and fast there is nothing preventing it from beeing reliable.
/Lars
 
 View user's profile Send private message  
Reply with quote Back to top
superchiku
PostPosted: Apr 11, 2008 - 11:35 AM
Wannabe


Joined: Feb 24, 2008
Posts: 63


ill do that no problem
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT + 1 Hour
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2006 The PNphpBB Group
Credits