<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Push Button to wake up or sleep (idle mode)</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/40574/push-button-to-wake-up-or-sleep-idle-mode</link><description> 
Hi, 

 
I am doing a small project where I would like to press a push
button to wake my device up and if I press again to put to it to idle
mode (&amp;#39;PCON=0x01&amp;#39;). 

 
Creating an interrupt is not difficult but I don&amp;#39;t know how to
make it sleep again using</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Push Button to wake up or sleep (idle mode)</title><link>https://community.arm.com/thread/81899?ContentTypeID=1</link><pubDate>Wed, 21 May 2014 00:18:03 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:64958134-0d32-4335-bb4e-93a006ecc6fc</guid><dc:creator>EDUARDO BODELY</dc:creator><description>&lt;p&gt;&lt;p&gt;
chip: ADUC842&lt;br /&gt;

&lt;a href="http://www.analog.com/en/processors-dsp/analog-microcontrollers/aduc842/products/product.html"&gt;www.analog.com/.../product.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
Compiler: C51&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Push Button to wake up or sleep (idle mode)</title><link>https://community.arm.com/thread/62824?ContentTypeID=1</link><pubDate>Tue, 20 May 2014 11:44:47 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b38c8cf1-0825-4dfd-9d3a-9877806f6a99</guid><dc:creator>&amp;#178;erik malund</dc:creator><description>&lt;p&gt;&lt;p&gt;
wake up is device dependent (e.g. a basic &amp;#39;51 can not wake up on
an int) &lt;b&gt;specify which chip&lt;/b&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>