Re: # asm(WDR=0);

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

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.

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

best regards
A.R. Khorasani
- Hide quoted text -

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

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.

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