dsPIC FWDT(WDT_OFF)

Thread Starter

D8666

Joined Nov 15, 2013
16
Rich (BB code):
_FWDT(WDT_OFF);     // Watchdog timer off
I'm going over my knowledge of dsPICs and I'm reading all the Microchip datasheets available.
So far I have downloaded read and searched the following three datasheets.

  • dsPIC30F4011/4012 Data Sheet
  • dsPIC30F/33F Programmer’s Reference Manual
  • dsPIC® Language Tools Libraries
I was unable to locate any mention of FWDT(WDT_OFF) in any of the above PDFs.
I have left University and now that I have the time I'm going over what I understand about PIC programming. I used the above line of code to turn off the watchdog timer but it was either taken from Microchip example programs or from lecturers examples.
My reason for asking is I would like to know where to find it say fro example if I had no internet access and only the reference manuals I should still be able to locate the necessary syntax etc and build a program from scratch..it would appear to me that I'm missing a manual?
Hop this makes sense!
 

ErnieM

Joined Apr 24, 2011
8,415
AFAIK "FWDT(WDT_OFF)" is an instruction to set a particular configuration bit.

What language did you use to program the devices? THAT is the manual you should be reading.
 

Thread Starter

D8666

Joined Nov 15, 2013
16
You probably meant which compiler I'm using..its xc16-gcc to compile main.c into a.out and then convert a.out into a.hex using xc16-bin2hex.

I guess its the PDF about xc16 I should be looking at?
 
Top