<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LPC MicrocontrollersのトピックRe: LPC176x.h</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC176x-h/m-p/523268#M5904</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MarcVonWindscooting on Sat Feb 08 05:26:38 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: leluno&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;MIN for minute of rtc makes Proplems because of MIN/MAX in other functions.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, but the reason for this is the embedded programmers' widespread non-awareness of the consequences #define on namespaces. They were told a thousand times and still abundantly use a *text processor* in a serious programming language.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As for you, if you didn't do the same (MIN/MAX macros I guess&amp;nbsp; ;-)&amp;nbsp; ) there would be no problem! That's a good starting point to do better, isn't it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:58:36 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:58:36Z</dc:date>
    <item>
      <title>LPC176x.h</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC176x-h/m-p/523267#M5903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by leluno on Sat Feb 08 04:47:09 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;i'm working with lpcxpresso and i'm very satisfyed. Thank you for this fine programm.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But there seems to be a problem with the CCR-Register. Which one? there are two:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Configuration and Control Register CCR 0xE000ED14&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Clock Control Register CCR 0x40024008&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this ok?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In LPC176x.h &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;RxFliterCtrl must be named RxFilterCtrl&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MIN for minute of rtc makes Proplems because of MIN/MAX in other functions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:58:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC176x-h/m-p/523267#M5903</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: LPC176x.h</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC176x-h/m-p/523268#M5904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by MarcVonWindscooting on Sat Feb 08 05:26:38 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: leluno&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;MIN for minute of rtc makes Proplems because of MIN/MAX in other functions.&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, but the reason for this is the embedded programmers' widespread non-awareness of the consequences #define on namespaces. They were told a thousand times and still abundantly use a *text processor* in a serious programming language.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As for you, if you didn't do the same (MIN/MAX macros I guess&amp;nbsp; ;-)&amp;nbsp; ) there would be no problem! That's a good starting point to do better, isn't it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:58:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC176x-h/m-p/523268#M5904</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: LPC176x.h</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/LPC176x-h/m-p/523269#M5905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by leluno on Sat Feb 08 06:23:35 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;for me its no&amp;nbsp; longer a Problem&amp;nbsp; while i have found and changed MIN to MINUTE and in&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;LPC_types.h&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MIN in MIn&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#define MAx(a, b) (((a) &amp;gt; (b)) ? (a) : (b))&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define MIn(a, b) (((a) &amp;lt; (b)) ? (a) : (b))//geändert conflict mit MINute&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#endif /* LPC_TYPES_H */&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is, that NXP has two system-files with the same item for different meanings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:58:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/LPC176x-h/m-p/523269#M5905</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:58:37Z</dc:date>
    </item>
  </channel>
</rss>

