Hi, I need to know how to use the WDT in the P89LPC932. I have selected its internal oscillator as the clock source. However, I do not know if it would consume more power than selecting the PCLK as its clock source. Also, how can I find out if the WDT is working fine. Do I need an infinite loop on this function? When do I call it? I have select WDTE = 1; and WDSE = 0; in the UCFG1 register. Sorry for so many questions, but I am still a beginner on this. Thank you void Watch_Dog (void) { EA = 0; WDCON = 0x05; //start WDT, and select WD oscillator WDL = 0xFF; WFEED1 = 0x0A5; //feed sequence WFEED2 = 0x05A; EA = 1; }