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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/29/10 16:45
Modified:
  03/29/10 16:47

Read: times


 
#174598 - Interrupt priorities...
Responding to: ???'s previous message
http://www.8052.com/tutint.phtml said:

When considering interrupt priorities, the following rules apply:

Nothing can interrupt a high-priority interrupt--not even another high priority interrupt.
A high-priority interrupt may interrupt a low-priority interrupt.
A low-priority interrupt may only occur if no other interrupt is already executing.
If two interrupts occur at the same time, the interrupt with higher priority will execute first. If both interrupts are of the same priority the interrupt which is serviced first by polling sequence will be executed first.


Also, this...

David Flanagan said:

jnb finished,$ 		;wait for complete event to finish

 



...is a really bad idea in an interrupt handler.




List of 16 messages in thread
TopicAuthorDate
Timer Problem Assembly Code            01/01/70 00:00      
   Interrupt priorities...            01/01/70 00:00      
      Also...            01/01/70 00:00      
      The missing words            01/01/70 00:00      
         You sure?            01/01/70 00:00      
            many ways to skin a cat            01/01/70 00:00      
               Actually very relevant            01/01/70 00:00      
                  My impression is            01/01/70 00:00      
         Interesting, but missing the point surely...            01/01/70 00:00      
            Interrupts are 'saved'            01/01/70 00:00      
               Soft interrupts            01/01/70 00:00      
                  in a '51 forum            01/01/70 00:00      
               Still missing the point...            01/01/70 00:00      
                  the missing reti's have already been mentioned            01/01/70 00:00      
                     Apart from missing reti...            01/01/70 00:00      
   Interupt priorities            01/01/70 00:00      

Back to Subject List