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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/19/02 12:24
Read: times


 
#32738 - RE: software reset--> Peter
The importance of executing RETI:
(sorry for answering a question asked to Peter)

If the uC is running an ISR when it resumes to the SW reset, interrupts with the same or lower priority will remain disabled. There is an interrupt controller in the uC that deals with this "internal tasks". The programmer has not direct access to this internal controller, so the trick is to execute the RETI instruction as much times as interrupt levels exist. Remember that RETI is used to return from an ISR, so it restores the earlier state of the interrupt controller.

Alfredo del Rio.


List of 12 messages in thread
TopicAuthorDate
software reset            01/01/70 00:00      
RE: software reset            01/01/70 00:00      
RE: software reset            01/01/70 00:00      
RE: software reset            01/01/70 00:00      
RE: software reset            01/01/70 00:00      
RE: software reset            01/01/70 00:00      
RE: software reset            01/01/70 00:00      
RE: software reset            01/01/70 00:00      
RE: software reset--> Peter            01/01/70 00:00      
RE: software reset--> Peter            01/01/70 00:00      
RE: software reset--> Peter            01/01/70 00:00      
RE: Thanks            01/01/70 00:00      

Back to Subject List