P. 1
Programming Embedded System II Keil 8051

Programming Embedded System II Keil 8051

|Views: 3,142|Likes:
Published by elena1991

More info:

Published by: elena1991 on Aug 13, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

06/12/2013

pdf

text

original

/*--------------------------------------------------------*/

void SCH_Go_To_Sleep()
{
PCON |= 0x01; /* Enter idle mode (generic 8051 version) */

/* Entering idle mode requires TWO consecutive instructions
on 80c515 / 80c505 - to avoid accidental triggering.
E.g:
PCON |= 0x01;
PCON |= 0x20; */

}

COPYRIGHT © MICHAEL J. PONT, 2001-2003. Contains material from:
Pont, M.J. (2001) “Patterns for triggered embedded systems”, Addison-Wesley.

PES II - 31

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->