<?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>Controling GPIO.</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/40721/controling-gpio</link><description> 
 How To Assign a Variable To Single Pin In GPIO 

 
In IAR I Can Write Code Like Following: 

 
#define rs IO1PIN_bit.P1_24
#define rw IO1PIN_bit.P1_25
#define en IO1PIN_bit.P1_26
 

 
But I Want To know How to write above code in KEIL. 

 
Someone</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Controling GPIO.</title><link>https://community.arm.com/thread/131448?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2014 03:32:34 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:63a040fc-f17a-4066-8897-0d766649e778</guid><dc:creator>Tahir Ahmed B</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;b&gt;Thank you! Mr.Per Westermark&lt;/b&gt;&lt;br /&gt;
I will go through it and contact you if I found any doubts regarding
this.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controling GPIO.</title><link>https://community.arm.com/thread/128720?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2014 02:52:43 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:72e4f29d-b76a-49fa-8dd1-85012a7dd453</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
Have you installed the legacy package for Keil MDK-ARM?&lt;/p&gt;

&lt;p&gt;
Have you visited this link?&lt;br /&gt;
&lt;a href="http://www.keil.com/dd/chip/3648.htm"&gt;http://www.keil.com/dd/chip/3648.htm&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
But you would probably be able to use IAR&amp;#39;s file too.&lt;/p&gt;

&lt;p&gt;
Remember that software engineering requires you to be proactive.
Your programs will never be better than you are at picking up
information.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controling GPIO.</title><link>https://community.arm.com/thread/117645?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2014 02:20:02 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:28efe6e2-e64b-4ba6-af85-6bcaecdc078c</guid><dc:creator>Tahir Ahmed B</dc:creator><description>&lt;p&gt;&lt;p&gt;
I am Using &lt;b&gt;LPC2129 Controller&lt;/b&gt;&lt;br /&gt;
Please tell me what is alternative available and where can I find
suitable header file for my controller.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controling GPIO.</title><link>https://community.arm.com/thread/107900?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2014 02:13:51 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:4de1b81a-ab31-4dac-a5dd-b7fdf98581a7</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
In this case, IAR is using an struct of bit fields. This is
standard C, even if often not very portable.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controling GPIO.</title><link>https://community.arm.com/thread/82148?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2014 02:08:16 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:da1271f2-61fb-4f15-baf8-275335d1a211</guid><dc:creator>Tahir Ahmed B</dc:creator><description>&lt;p&gt;&lt;p&gt;
Yes I knew that but IAR Workbench Has the following header file
&lt;b&gt;&amp;quot;nxp/iolpc2148.h&amp;quot;&lt;/b&gt;&lt;br /&gt;
which includes definition for previously mentioned GPIO access.&lt;/p&gt;

&lt;p&gt;
I Have another doubt:&lt;b&gt;&lt;br /&gt;
If I use that header file from IAR in Keil, it will work or
not?&lt;/b&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Controling GPIO.</title><link>https://community.arm.com/thread/68904?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2014 01:52:05 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:6b6d284a-4027-413b-b38d-247d8cd3fead</guid><dc:creator>ImPer Westermark</dc:creator><description>&lt;p&gt;&lt;p&gt;
And you don&amp;#39;t feel that the actually used processor may
matter?&lt;/p&gt;

&lt;p&gt;
An 8051 processor has bit-addressable I/O signals.&lt;br /&gt;
ARM chips might have - if they support bit banding. Else they do
not.&lt;br /&gt;
What time have you spent looking through the relevant header file(s)
for your specific processor?&lt;/p&gt;

&lt;p&gt;
Keil&amp;#39;s 8051 compiler has special constructs to handle bit
variables. ARM processors on the other hand doesn&amp;#39;t have bit
variables - but maybe aliased words, in case the processor in
question has bit banding.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>