<?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中的主题 Comment Bug LPCopen LPC5410x</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Comment-Bug-LPCopen-LPC5410x/m-p/643186#M25411</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the release&amp;nbsp;lpc5410x_xpresso54102_lpcxpresso_v3.03.000_16, in file&amp;nbsp;lpc_chip_5410x\inc\spi_common_5410x.h&lt;/P&gt;&lt;P&gt;starting at line 64, the comments are off by a line or incorrect:&lt;/P&gt;&lt;P&gt;Was&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;#define SPI_CFG_BITMASK (0xFBD) /** SPI register bit mask */&amp;nbsp;&lt;BR /&gt;#define SPI_CFG_SPI_EN (1 &amp;lt;&amp;lt; 0) /** SPI Slave Mode Select */ &amp;lt;- Incorrect is SPI Enable&lt;BR /&gt;#define SPI_CFG_SLAVE_EN (0 &amp;lt;&amp;lt; 0) /** SPI Master Mode Select */ &amp;lt;- Incorrect is Slave Enable&lt;BR /&gt;#define SPI_CFG_MASTER_EN (1 &amp;lt;&amp;lt; 2) /** SPI MSB First mode enable */ &amp;lt;- Incorrect is Master Enable&lt;BR /&gt;#define SPI_CFG_MSB_FIRST_EN (0 &amp;lt;&amp;lt; 3) /** SPI LSB First mode enable */ &amp;lt;- Incorrect is MSB First&lt;BR /&gt;#define SPI_CFG_LSB_FIRST_EN (1 &amp;lt;&amp;lt; 3) /** SPI Clock Phase Select */ &amp;lt;- Incorrect is LSB first&lt;BR /&gt;#define SPI_CFG_CPHA_FIRST (0 &amp;lt;&amp;lt; 4) /** Capture data on the first edge, Change data on the following edge */ &amp;lt;- Incorrect&lt;BR /&gt;#define SPI_CFG_CPHA_SECOND (1 &amp;lt;&amp;lt; 4) /** SPI Clock Polarity Select */ &amp;lt;- Incorrect&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;should be&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;#define SPI_CFG_BITMASK (0xFBD) /** SPI register bit mask */&lt;BR /&gt;#define SPI_CFG_SPI_EN (1 &amp;lt;&amp;lt; 0) /** Enable SPI */&lt;BR /&gt;#define SPI_CFG_SLAVE_EN (0 &amp;lt;&amp;lt; 0) /** SPI Slave Mode Select */&lt;BR /&gt;#define SPI_CFG_MASTER_EN (1 &amp;lt;&amp;lt; 2) /** SPI Master Mode Select */&lt;BR /&gt;#define SPI_CFG_MSB_FIRST_EN (0 &amp;lt;&amp;lt; 3) /** SPI MSB First mode enable */&lt;BR /&gt;#define SPI_CFG_LSB_FIRST_EN (1 &amp;lt;&amp;lt; 3) /** SPI LSB First mode enable */&lt;BR /&gt;#define SPI_CFG_CPHA_FIRST (0 &amp;lt;&amp;lt; 4) /** Capture data on the first edge, Change data on the following edge */&lt;BR /&gt;#define SPI_CFG_CPHA_SECOND (1 &amp;lt;&amp;lt; 4) /** Change data on the first edge, Capture data on the following edge */&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Doesn't affect code, just confusing to read.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bob Alkire&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Mar 2017 21:16:43 GMT</pubDate>
    <dc:creator>robertalkire</dc:creator>
    <dc:date>2017-03-12T21:16:43Z</dc:date>
    <item>
      <title>Comment Bug LPCopen LPC5410x</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Comment-Bug-LPCopen-LPC5410x/m-p/643186#M25411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the release&amp;nbsp;lpc5410x_xpresso54102_lpcxpresso_v3.03.000_16, in file&amp;nbsp;lpc_chip_5410x\inc\spi_common_5410x.h&lt;/P&gt;&lt;P&gt;starting at line 64, the comments are off by a line or incorrect:&lt;/P&gt;&lt;P&gt;Was&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;#define SPI_CFG_BITMASK (0xFBD) /** SPI register bit mask */&amp;nbsp;&lt;BR /&gt;#define SPI_CFG_SPI_EN (1 &amp;lt;&amp;lt; 0) /** SPI Slave Mode Select */ &amp;lt;- Incorrect is SPI Enable&lt;BR /&gt;#define SPI_CFG_SLAVE_EN (0 &amp;lt;&amp;lt; 0) /** SPI Master Mode Select */ &amp;lt;- Incorrect is Slave Enable&lt;BR /&gt;#define SPI_CFG_MASTER_EN (1 &amp;lt;&amp;lt; 2) /** SPI MSB First mode enable */ &amp;lt;- Incorrect is Master Enable&lt;BR /&gt;#define SPI_CFG_MSB_FIRST_EN (0 &amp;lt;&amp;lt; 3) /** SPI LSB First mode enable */ &amp;lt;- Incorrect is MSB First&lt;BR /&gt;#define SPI_CFG_LSB_FIRST_EN (1 &amp;lt;&amp;lt; 3) /** SPI Clock Phase Select */ &amp;lt;- Incorrect is LSB first&lt;BR /&gt;#define SPI_CFG_CPHA_FIRST (0 &amp;lt;&amp;lt; 4) /** Capture data on the first edge, Change data on the following edge */ &amp;lt;- Incorrect&lt;BR /&gt;#define SPI_CFG_CPHA_SECOND (1 &amp;lt;&amp;lt; 4) /** SPI Clock Polarity Select */ &amp;lt;- Incorrect&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;should be&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;#define SPI_CFG_BITMASK (0xFBD) /** SPI register bit mask */&lt;BR /&gt;#define SPI_CFG_SPI_EN (1 &amp;lt;&amp;lt; 0) /** Enable SPI */&lt;BR /&gt;#define SPI_CFG_SLAVE_EN (0 &amp;lt;&amp;lt; 0) /** SPI Slave Mode Select */&lt;BR /&gt;#define SPI_CFG_MASTER_EN (1 &amp;lt;&amp;lt; 2) /** SPI Master Mode Select */&lt;BR /&gt;#define SPI_CFG_MSB_FIRST_EN (0 &amp;lt;&amp;lt; 3) /** SPI MSB First mode enable */&lt;BR /&gt;#define SPI_CFG_LSB_FIRST_EN (1 &amp;lt;&amp;lt; 3) /** SPI LSB First mode enable */&lt;BR /&gt;#define SPI_CFG_CPHA_FIRST (0 &amp;lt;&amp;lt; 4) /** Capture data on the first edge, Change data on the following edge */&lt;BR /&gt;#define SPI_CFG_CPHA_SECOND (1 &amp;lt;&amp;lt; 4) /** Change data on the first edge, Capture data on the following edge */&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Doesn't affect code, just confusing to read.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bob Alkire&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Mar 2017 21:16:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Comment-Bug-LPCopen-LPC5410x/m-p/643186#M25411</guid>
      <dc:creator>robertalkire</dc:creator>
      <dc:date>2017-03-12T21:16:43Z</dc:date>
    </item>
    <item>
      <title>Re: Comment Bug LPCopen LPC5410x</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Comment-Bug-LPCopen-LPC5410x/m-p/643187#M25412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Bob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We will check this internally. Thank you for your feedback.&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Sol &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Mar 2017 23:46:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Comment-Bug-LPCopen-LPC5410x/m-p/643187#M25412</guid>
      <dc:creator>soledad</dc:creator>
      <dc:date>2017-03-13T23:46:35Z</dc:date>
    </item>
  </channel>
</rss>

