maniac84
Full Member level 6
Hi guys... currently studying about WDTEN bit on my PIC18F25K50.
From the data sheet, it is written:
WDTEN<1:0>:Watchdog Timer Enable bits
11= WDT enabled in hardware; SWDTEN bit disabled
10= WDT controlled by the SWDTEN bit
But I saw from sample coding, they write:
WDTEN=ON or WDTEN=SWON
What is the difference of ON and SWON?
Does ON equals to 11, and SWON equals to 10?
Which one should I use?
- - - Updated - - -
And I want to know exactly, what is hardware enabled watch dog and software enabled watch dog? Can't really find it in Google..
From the data sheet, it is written:
WDTEN<1:0>:Watchdog Timer Enable bits
11= WDT enabled in hardware; SWDTEN bit disabled
10= WDT controlled by the SWDTEN bit
But I saw from sample coding, they write:
WDTEN=ON or WDTEN=SWON
What is the difference of ON and SWON?
Does ON equals to 11, and SWON equals to 10?
Which one should I use?
- - - Updated - - -
And I want to know exactly, what is hardware enabled watch dog and software enabled watch dog? Can't really find it in Google..