ICCAVR WDR() function

Go To Last Post
3 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Using ICCAVR Compiler , I wanted to use the WDR (Watch Dog Reset). I searched within the ICCAVR environment
But did not locate any functions for WDR. I tried WDR(), as a guess and what do you know , it compiled.
Looking at the output file (*.LST) the compiled code was 0x95A8 which complies with the instruction when
looking at the Instruction set manual from Atmel. So, somewhere ICCAVR has the WDR() function.
My question is: Where in the ICCAVR tool set is this function found. It must be in a library, but I am not sure how to find the various functions contained in the libraries.
Thanks in advance for any help.

I'll believe corporations
are people when Texas executes one.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

The WDR() macro is located in macros.h

If you installed the ImageCraft ICCAVR v7 compiler to the default installation, the path is Local Disk: C:\iccv7avr\include\macros.h

You can avoid reality, for a while.  But you can't avoid the consequences of reality! - C.W. Livingston

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Thanks Carl.I will look for it there.

I'll believe corporations
are people when Texas executes one.