 |
| Author |
Message |
|
|
Posted: Apr 11, 2008 - 10:17 AM |
|


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 |
|
|
| |
|
|
|
|
|
Posted: Apr 11, 2008 - 10:32 AM |
|

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 |
|
|
| |
|
|
|
|
|
Posted: Apr 11, 2008 - 10:56 AM |
|


Joined: Mar 12, 2004
Posts: 1174
Location: Linköping, Sweden
|
|
Yes, it will be ultra reliable , 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 |
|
|
| |
|
|
|
|
|
Posted: Apr 11, 2008 - 11:35 AM |
|

Joined: Feb 24, 2008
Posts: 63
|
|
|
|
|
|
|
|
|