> No the peripherals do not keep working while the > CPU is asleep In the block diagram of TMR0, the T0CKI signal goes through a gate with T0SE, then into the first MUX with Fosc and T0CS. As Fosc is turned off by SLEEP (therefore no T0IF when TMR0 is free-running), I wasn't sure if that stops the MUXes from incrementing T0reg. I now suspect it may, because Fosc is needed in the synch block also. So what actually stops TMR0 is not that it's shut down, it's that there's no Fosc to clock the hardware -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist