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!
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.