avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-libc-dev] What about to make 'reti' as a default behaviour?


From: Weddington, Eric
Subject: RE: [avr-libc-dev] What about to make 'reti' as a default behaviour?
Date: Sun, 16 Dec 2007 16:16:40 -0700

 

> -----Original Message-----
> From: 
> address@hidden 
> [mailto:address@hidden
> org] On Behalf Of Dmitry K.
> Sent: Sunday, December 16, 2007 4:09 PM
> To: address@hidden
> Subject: [avr-libc-dev] What about to make 'reti' as a 
> default behaviour?
> 
> Hi.
> 
> Now in case of unforeseen interrupt the program is
> jumped to zero address. As a rule, such behaviour
> is bad, as it leads to restart program without
> restarting a MCU's hardware.
> 
> What about to perform 'reti' in case if the user
> does not define own __vector_default ?

That seems like a safe alternative. This has my vote.

Eric 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]