<?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>List of calculated constants</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/17328/list-of-calculated-constants</link><description> I use the preprocessor to calculate a rather large array of constant values (it get more comples later) such as 
 
#define LM2 0x2040
#define LSENS 0 // NOTE: LSENS MUST BE LESS THAN HALF LM2 IF CHANGED SENSE TABLES AND LOGIC MUST CHANGE

#define L10</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: List of calculated constants</title><link>https://community.arm.com/thread/95027?ContentTypeID=1</link><pubDate>Wed, 01 May 2002 11:00:03 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:ba7b6e83-89e6-4a0c-a875-84ac531e7030</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;b&gt;PREPRINT&lt;/b&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: List of calculated constants</title><link>https://community.arm.com/thread/54365?ContentTypeID=1</link><pubDate>Wed, 01 May 2002 07:50:35 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:53d37bf6-f87c-406f-bfb0-c5ed96e078be</guid><dc:creator>erik  malund</dc:creator><description>&lt;p&gt;what, where?&lt;br /&gt;
&lt;br /&gt;
Erik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: List of calculated constants</title><link>https://community.arm.com/thread/38674?ContentTypeID=1</link><pubDate>Wed, 01 May 2002 07:44:03 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:671765b9-88ae-43e8-bdab-edce5200f449</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;Lokk in the preprocessor listing!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>