Nap might be more of what you want.
From the manual
Turn the WDT off in the config and the PIC should be in a low power mode until the interrupt occurs.NAP puts the processor to sleep for one Watchdog Timer period. If the
Watchdog Timer is not enabled, the processor will sleep forever or until
an enabled interrupt or reset is received
Bookmarks