Reply by "A. R. Khorasani" August 22, 20102010-08-22
from A. R. Khorasani
to a...
date Fri, Aug 20, 2010 at 11:06 PM
subject Re: [AVR club] # asm(WDR=0);
mailed-by gmail.com

hide details 11:06 PM (13 hours ago)

Salaam Ali,

I suggest free WINAVR or AVRGCC compiler.
You can define the following in the header file and use WDR(); instead.

#ifdef CODEVISION
#define WDR() #asm("wdr")
#elif defined (AVRGCC)
#define WDR() __asm__ __volatile__ ("wdr")
#endif

best regards
A.R. Khorasani
www.dadehabzar.ir
- Hide quoted text -

On Fri, Aug 20, 2010 at 2:01 PM, rahmatoolah abedini
wrote:

Hello friends
I worked with codevision version 1.38.8c long times. In that
software every time
that I want to reset watchdog timer I wrote:
# asm(WDR=0);
Now I start for working with codevision version 2.04.4a in this version that
line produce Error. What can I do? How can I reset watchdog timer?
Best regards.
ALi




Reply to sender | Reply to group | Reply via web post | Start a New Topic
Messages in this topic (1)