Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
Per Westermark
10/31/11 04:27
Read: 377 times

#184476 - us, not ms
Responding to: Raj Nambiar's previous message
An ISR should try to get the required job done within a number of microseconds - not milliseconds.

Remember that even at a paltry 9600 baud, a UART will receive one new character every millisecond.

And there are often many other functions in an embedded system that must be processed reasonably quickly.

So delays in an ISR should only be to get the required amount of settle and hold times when communicating with external equipment. Internally, there shouldn't, normally, be a need for any delays.

List of 9 messages in thread
Multiple calls to segment      Raj Nambiar      10/29/11 05:01      
   General ISR Design Principle        Michael Karas      10/29/11 06:14      
      Incorrect use of ISR      Per Westermark      10/29/11 07:06      
         the missed issue      Erik Malund      10/29/11 08:07      
      Delay Routines....      Michael Karas      10/29/11 09:34      
         Thanks a million...      Raj Nambiar      10/31/11 02:07      
            us, not ms      Per Westermark      10/31/11 04:27      
      try this - maybe      Marshall Brown      10/31/11 04:14      
         Thanks Brown..      Raj Nambiar      11/04/11 09:44      

Back to Subject List