Sleep mode question

Status
Not open for further replies.

tubos

New Member
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?
 
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.
 
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.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…