<?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>How to address the ports of the processor?</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/41741/how-to-address-the-ports-of-the-processor</link><description> 
How to address the ports of the Teridian 71M6541FT processor from
the &amp;#181;Vision program on the C? 

 
Ports list: SEGDIO0 – SEGDIO14 SEGDIO19 –
SEGDIO27 SEGDIO36 – SEGDIO39 SEGDIO44 SEGDIO45 SEGDIO51 
COM0 – COM3 SEG46 SEG47 PB VLCD VREF IAP IAN V3P3A</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: How to address the ports of the processor?</title><link>https://community.arm.com/thread/94275?ContentTypeID=1</link><pubDate>Wed, 27 Dec 2017 11:17:15 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:49a45a6a-54f8-44f7-b06a-29503715b8b2</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;b&gt;&lt;br /&gt;
&lt;a href="http://www.keil.com/forum/63237"&gt;http://www.keil.com/forum/63237&lt;/a&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to address the ports of the processor?</title><link>https://community.arm.com/thread/70462?ContentTypeID=1</link><pubDate>Wed, 27 Dec 2017 06:44:13 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:f11922ac-6b47-46ae-9081-dbc5bc9aa308</guid><dc:creator>ham spam</dc:creator><description>&lt;p&gt;&lt;p&gt;
It is easier to determine the state of certain pins.&lt;/p&gt;

&lt;p&gt;
For example the state of the GND pin can be determined like
this&lt;/p&gt;

&lt;pre&gt;

#define GND 0
.
.
.
ValueOfGndPin = GND;

&lt;/pre&gt;

&lt;p&gt;
And the state of the 3V3 power pin can be determined like this&lt;/p&gt;

&lt;pre&gt;

#define POWER 1
.
.
.
ValueOfPowerPin = POWER;

&lt;/pre&gt;

&lt;p&gt;
You can also check for good power like this&lt;/p&gt;

&lt;pre&gt;

#define POWER 1
.
.
.
if (0 === POWER)
  WhatTheFlick();

&lt;/pre&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>