<?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>Port 5 on P8xC552</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/17012/port-5-on-p8xc552</link><description> Can some one tell how to disable ADC on 8xc552 and use it as digital inputs, like 80c51 normal port. I am trying to read Keypad switches and get nothing, 10k pull ups resister are there. 
 
Thanks, 
 Afzal 
 </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Port 5 on P8xC552</title><link>https://community.arm.com/thread/54227?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2002 11:22:16 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:92460ae2-b0b5-42f8-9ac6-688ce7678b26</guid><dc:creator>Mark Odell</dc:creator><description>&lt;p&gt;A simple rule on bit addressable SFR&amp;#39;s:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;If the address of the SFR is on an 8 byte boundary (e.g. 0xA8) it is bit addressable.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
- Mark&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Port 5 on P8xC552</title><link>https://community.arm.com/thread/38458?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2002 09:56:42 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:629e1a04-f2fa-4ad7-be82-4b8a46763f68</guid><dc:creator>Sven Petersen</dc:creator><description>&lt;p&gt;Hi Afzal!&lt;br /&gt;
&lt;br /&gt;
P5 is an input port only and it is not bit addressible. That means, you can only read the whole port as one byte (the addr. is C4 - it is defined in the reg552.h). After that you have to mask the single bits, if required. I usually mix the inputs of P5, since I usually don&amp;#39;t need more than 1 or 2 ADCs, but I never have enoug ports.&lt;br /&gt;
&lt;br /&gt;
Take care&lt;br /&gt;
  Sven&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Port 5 on P8xC552</title><link>https://community.arm.com/thread/38459?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2002 15:56:33 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:d543dc79-75d7-4968-b34f-1c684737e7fc</guid><dc:creator>Mark Odell</dc:creator><description>&lt;p&gt;It&amp;#39;s been a long time, but I seem to remember that the databook was quite clear on it. It was pretty simple as I recall.&lt;br /&gt;
&lt;br /&gt;
- Mark&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>