<?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>LPC2114</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/23234/lpc2114</link><description> 
Hay 
I am new to LPC2114 microcontroller 

 
In 8051 pins are bit addressable using sbit (Keil-C51) so I can
declare input switch &amp;amp; out put LED as 

 
Ex: sbit SWITCH P1^1 
Ex: sbit LED P1^4 

 
How to declare the input switch &amp;amp; out put LED in LPC2114</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: LPC2114</title><link>https://community.arm.com/thread/89423?ContentTypeID=1</link><pubDate>Thu, 04 Dec 2008 06:37:30 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4724fd41-df8f-4dd5-a018-89dca8caccb6</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
Set and reset a specific bit. Note that the register names are
just from the previous post. You have to check the exact register
names for the specific port in your user manual/datasheet.&lt;/p&gt;

&lt;pre&gt;
IOSET = 1 &amp;lt;&amp;lt; 4;
IOCLR = 1 &amp;lt;&amp;lt; 4;
&lt;/pre&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPC2114</title><link>https://community.arm.com/thread/53006?ContentTypeID=1</link><pubDate>Thu, 04 Dec 2008 04:28:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:00d36c88-aa59-4d5a-8a7d-3baaf5f77944</guid><dc:creator>shyam ST</dc:creator><description>&lt;p&gt;&lt;p&gt;
you can set direction and status of port as fallows&lt;br /&gt;
for making Direction in or out u have to use IODIR register&lt;br /&gt;
IODID = 0x000000FF; //dir of P0.0 to P0.7 output&lt;br /&gt;
IOSET = 0x000000FF; // Make these port high&lt;br /&gt;
IOCLR = 0x000000FF; // Make them low.&lt;/p&gt;

&lt;p&gt;
for better understading plz read usermanual of LPC 2214&lt;/p&gt;

&lt;p&gt;
Shyam&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LPC2114</title><link>https://community.arm.com/thread/53004?ContentTypeID=1</link><pubDate>Thu, 04 Dec 2008 04:20:36 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9495c7f1-1a54-4b38-a4e7-2ea72e307de4</guid><dc:creator>shyam ST</dc:creator><description>&lt;p&gt;&lt;p&gt;
In LPC2124 there is no bit addressable area.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>