What happens exactly in the sleep mode ??

Status
Not open for further replies.

natraj20

Member level 3
Joined
Oct 28, 2010
Messages
65
Helped
3
Reputation
6
Reaction score
3
Trophy points
1,288
Location
Florida
Activity points
1,769
What happens exactly in the sleep mode ?
And what is the exact steps to bring the processor to sleep mode with low power? Do we have to modify any bits in the configuration registers ??
Do we have to turn off all the peripherals in the code ?
Do we have to change all the port pins into i/p or o/p ? By default, what state the port pins will be in ?? - Floating ??
Is the sleep() function as defined in the headers of the pic compiler not sufficient?
void sleep(void)
{
_asm
sleep
_endasm
}

Please advice !
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…