<?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>Configuration of P1 versus INT0 !</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/36634/configuration-of-p1-versus-int0</link><description> I want to use the external interupt pin 0. 
So I configured the Port 1 like this : 
	// 3 IRQ :	Input Only. 
 P1M1 = 0X7E;
	P1M2 = 0x81; 
But when debugging, the checkboxes in P1 window are greied for P1.2 and P1.3. All these bits are set. So it gives</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Configuration of P1 versus INT0 !</title><link>https://community.arm.com/thread/72558?ContentTypeID=1</link><pubDate>Tue, 22 Jun 2004 01:37:14 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:cbfb4900-9d73-444b-88a3-06fc712c7023</guid><dc:creator>Sylvestre JORGENSEN</dc:creator><description>&lt;p&gt;Excuse me !&lt;br /&gt;
&lt;br /&gt;
I forgot to say :&lt;br /&gt;
I&amp;#39;m developing on &lt;b&gt;uVision for the Philips P89LPC932&lt;/b&gt;.&lt;br /&gt;
I wanted to write :&lt;br /&gt;
I want to use the external interupt &lt;b&gt;INT0 on pin P1.3&lt;/b&gt;. ...&lt;br /&gt;
While debugging, you usually can change the I/O port mode and it&amp;#39;s value.&lt;br /&gt;
But in my case, the P1.2 and P1.3 port mode checkboxes are inhibited.&lt;br /&gt;
That&amp;#39;s my problem. Usually Interupt pins are supposed to be inputs.&lt;br /&gt;
Thanks again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Configuration of P1 versus INT0 !</title><link>https://community.arm.com/thread/42386?ContentTypeID=1</link><pubDate>Mon, 21 Jun 2004 12:28:17 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:86f6f870-3ba7-4e01-a0a4-8b2a8327becb</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;&lt;i&gt; interupt pin 0.  ... Port 1 ....&lt;br /&gt;
	P1M1 = 0X7E;&lt;br /&gt;
	P1M2 = 0x81;&lt;br /&gt;
... greied ????&lt;/i&gt;&lt;br /&gt;
your message makes absolutely no sense.  Maybe it would, if you mentined which derivative you are using.&lt;br /&gt;
&lt;br /&gt;
Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>