The Watchdog Timer (WDT) Reset feature may not work properly outside of Sleep mode. Reliance on WDT Reset while executing a program is not recommended. Operation in Sleep is not impacted by this errata.
RESET
commandA code example using Timer1 is shown below.
void __interrupt() isr(void) { if( TMR1IF && TMR1IE ) { asm("RESET"); } } void main(void) { configure_TMR1(); GIE = 1; PEIE = 1; T1CONbits.ON = 1; while(1) { // user code here restore_TMR1(); } }
A3 | A5 | A6 | A7 | A8 | |||
X | X | X |