T tubos New Member Nov 19, 2010 #1 I plan to use a timer 0 interrupt for PWM' some led output. Now what exactly happens when my pic goes to sleep with my timer 0 ISR? Is it just on hold until my pic wakes up again? Is there a thorough APPnote that explains the "sleep" instruction more in detail than the datasheet?
I plan to use a timer 0 interrupt for PWM' some led output. Now what exactly happens when my pic goes to sleep with my timer 0 ISR? Is it just on hold until my pic wakes up again? Is there a thorough APPnote that explains the "sleep" instruction more in detail than the datasheet?
E edeca Active Member Nov 19, 2010 #2 You don't mention what PIC. On all devices certain timers can wake up the PIC from sleep mode. Tell us what PIC so we can help you find the right diagrams in the datasheet.
You don't mention what PIC. On all devices certain timers can wake up the PIC from sleep mode. Tell us what PIC so we can help you find the right diagrams in the datasheet.
T tubos New Member Nov 19, 2010 #3 I already have have a wake up routine with Timer1, The question was what happens with my timer0 routine before and after the sleep technically wise. I know that my Timer0 stops running during sleep but i'm interested in some more detail.
I already have have a wake up routine with Timer1, The question was what happens with my timer0 routine before and after the sleep technically wise. I know that my Timer0 stops running during sleep but i'm interested in some more detail.