We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello, I have a AT89C5131 development kit and I want do disable the WDTCN (watchdog timer) but in the list of the registers in the file "at89c5131.h" it looks like there are two registers: Sfr ( WDTRST, 0xA6 ) ; Sfr ( WDTPRG, 0xA7 ) ;
What do I need to do in order to Disable the watchdog timer.
Thanks!
In the datasheet it is written that the microcontrollre has only one register for watchdog timer that calls WDTCN but in the softwere there are two registers with different names.
So - have you made sure that both the datasheet and the include file are for your specific processor?
Ofcourse I checked if the header file matching the microcontroller. It even has the same name.
Of course?
I mentioned two clauses in my query - you only cared about one...
The datasheet I did look at mentions two registers - not one. So what datasheet have you been looking at?
I am using the datasheet of microcontroller at89c5131a and also its headfile. I would like to have your datasheet if its different then mine
You still haven't said what datasheet you are using - what link on Atmel's site?
Remember that there is nothing special nor magic about the header file; it is just a perfectly normal C51 header file - no different from any other C51 header file.
There is nothing to stop you from creating your own header file, working direct from the datasheet.